#862E9C

Purple

#862E9CPurple

Luminance

0.094

Category

Pink

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#862E9C
No #
862E9C

RGB

RGB
rgb(134, 46, 156)
Values
R:134 G:46 B:156

HSL

HSL
hsl(288, 54%, 40%)
Values
H:288° S:54% L:40%

HSV / HSB

HSV
hsv(288, 71%, 61%)
Values
H:288° S:71% V:61%

CMYK

CMYK
cmyk(14%, 71%, 0%, 39%)
Values
C:14 M:71 Y:0 K:39

LAB

LAB
lab(37, 53, -42)
Values
L:37 a:53 b:-42

OKLCH

OKLCH
oklch(47.8% 0.181 318.9)
Values
L:47.8% C:0.181 H:318.9°

Code Formats

CSS
color: #862E9C;
Swift
UIColor(red: 0.525, green: 0.180, blue: 0.612, alpha: 1.0)
Kotlin
Color(0xFF862E9C)
Flutter
Color(0xFF862E9C)
Android
#FF862E9C

Contrast Analysis

WCAG compliance with grayscale colors

On White

7.28:1

AAA

On Black

2.88:1

Fail

Grayscale Contrast

Aa

0%

2.9

Fail
Aa

10%

2.4

Fail
Aa

20%

1.7

Fail
Aa

30%

1.2

Fail
Aa

40%

1.3

Fail
Aa

50%

1.8

Fail
Aa

60%

2.6

Fail
Aa

70%

3.5

AA-large
Aa

80%

4.5

AA
Aa

90%

5.8

AA
Aa

100%

7.3

AAA

Best Grayscale Contrast

#FFFFFF with ratio 7.28:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #BA62D0 0%, #541D62 100%)
OKLCH
linear-gradient(90deg, oklch(64.1% 0.180 319.3) 0%, oklch(34.7% 0.125 318.8) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #B428D7 0%, #9615B7 100%)
OKLCH
linear-gradient(135deg, oklch(57.8% 0.254 318.2) 0%, oklch(50.2% 0.232 317.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #862E9C 0%, #459D2F 100%)
OKLCH
linear-gradient(90deg, oklch(47.8% 0.181 318.9) 0%, oklch(61.9% 0.169 140.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #502F9D 0%, #862E9C 50%, #9D2F7C 100%)
OKLCH
linear-gradient(90deg, oklch(41.3% 0.168 291.0) 0%, oklch(47.8% 0.181 318.9) 50%, oklch(49.6% 0.167 342.1) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #872F9D 0%, #231726 100%)
OKLCH
linear-gradient(180deg, oklch(48.1% 0.181 318.9) 0%, oklch(22.7% 0.033 319.5) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #B14ECA 0%, #652376 100%)
OKLCH
radial-gradient(circle, oklch(60.0% 0.200 319.0) 0%, oklch(39.4% 0.145 318.7) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette