#864FDA#864FDA
#864FDA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.203 H 297.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #864FDA |
|---|---|
| RGB | rgb(134, 79, 218) |
| HSL | hsl(264, 65%, 58%) |
| HSV | hsv(264, 64%, 85%) |
| CMYK | cmyk(38.5%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(46.61, 51.69, -63.03) |
| CIE-LCH | lch(46.61, 81.51, 309.36°) |
| OKLab | oklab(56.21% 0.0943 -0.1795) |
| OKLCH | oklch(56.21% 0.203 297.7) |
| XYZ | xyz(25.2792, 15.7219, 68.0188) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.44
Light Indigo
#6D5ACF
ΔE00 5.51
Bluish Purple
#703BE7
ΔE00 6.00
Lightish Purple
#A552E6
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.06
Blueviolet
#8A2BE2
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FDA #A3DA4F
analogous
#4F5DDA #864FDA #CB4FDA
triadic
#864FDA #DA864F #4FDA86
tetradic
#864FDA #DA4F5D #A3DA4F #4FDACB
square
#864FDA #DA4F5D #A3DA4F #4FDACB
split-complementary
#864FDA #DACB4F #5DDA4F
monochromatic
#4B1E90 #6629C3 #864FDA #A982E5 #CCB4EF
Accessibility & contrast
On white
5.07
#864FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#864FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FDA
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FDA | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#726F8D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #864fda; /* rgb */ color: rgb(134, 79, 218); /* oklch */ color: oklch(56.2% 0.203 297.7);
Tailwind
colors: {
custom: {
50: '#af83e6',
500: '#864fda',
950: '#000000',
},
}SCSS
$custom: #864fda; $custom-light: #af83e6; $custom-dark: #000000;
JSON
{
"hex": "#864fda",
"rgb": {
"r": 134,
"g": 79,
"b": 218
},
"hsl": {
"h": 263.741,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.5621,
"c": 0.20278,
"h": 297.7
},
"luminance": 0.15722
}Semantic roles & 50–950 ramp
primary
#864FDA
secondary
#C8DEA7
accent
#E840A5
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84