#864BE2#864BE2
#864BE2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.217 H 296.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #864BE2 |
|---|---|
| RGB | rgb(134, 75, 226) |
| HSL | hsl(263, 72%, 59%) |
| HSV | hsv(263, 67%, 89%) |
| CMYK | cmyk(40.7%, 66.8%, 0%, 11.4%) |
| CIE-LAB | lab(46.43, 55.76, -67.86) |
| CIE-LCH | lch(46.43, 87.83, 309.41°) |
| OKLab | oklab(56.26% 0.0975 -0.1937) |
| OKLCH | oklch(56.26% 0.217 296.7) |
| XYZ | xyz(26.0715, 15.5910, 73.5725) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Bluish Purple
#703BE7
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.48
Light Indigo
#6D5ACF
ΔE00 6.12
Lightish Purple
#A552E6
ΔE00 6.25
Purpleish Blue
#6140EF
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864BE2 #A7E24B
analogous
#4B5CE2 #864BE2 #D24BE2
triadic
#864BE2 #E2864B #4BE286
tetradic
#864BE2 #E24B5C #A7E24B #4BE2D2
square
#864BE2 #E24B5C #A7E24B #4BE2D2
split-complementary
#864BE2 #E2D24B #5CE24B
monochromatic
#4B199A #6521CF #864BE2 #A980EA #CDB4F3
Accessibility & contrast
On white
5.10
#864BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#864BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864BE2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864BE2 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#6F6F90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #864be2; /* rgb */ color: rgb(134, 75, 226); /* oklch */ color: oklch(56.3% 0.217 296.7);
Tailwind
colors: {
custom: {
50: '#b081ec',
500: '#864be2',
950: '#000000',
},
}SCSS
$custom: #864be2; $custom-light: #b081ec; $custom-dark: #000000;
JSON
{
"hex": "#864be2",
"rgb": {
"r": 134,
"g": 75,
"b": 226
},
"hsl": {
"h": 263.444,
"s": 72.249,
"l": 59.02
},
"oklch": {
"l": 0.56264,
"c": 0.21692,
"h": 296.7
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#864BE2
secondary
#CBE2A7
accent
#EF39A8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84