#864FC2#864FC2
#864FC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.175 H 303.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #864FC2 |
|---|---|
| RGB | rgb(134, 79, 194) |
| HSL | hsl(269, 49%, 54%) |
| HSV | hsv(269, 59%, 76%) |
| CMYK | cmyk(30.9%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.02, 45.66, -51.78) |
| CIE-LCH | lch(45.02, 69.04, 311.40°) |
| OKLab | oklab(54.55% 0.0955 -0.1465) |
| OKLCH | oklch(54.55% 0.175 303.1) |
| XYZ | xyz(22.3629, 14.5554, 52.6598) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.66
Deep Lavender
#8D5EB7
ΔE00 5.21
Purpley
#8756E4
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 5.87
Purply
#983FB2
ΔE00 5.93
Light Indigo
#6D5ACF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FC2 #8BC24F
analogous
#4F51C2 #864FC2 #BF4FC2
triadic
#864FC2 #C2864F #4FC286
tetradic
#864FC2 #C24F51 #8BC24F #4FC2BF
square
#864FC2 #C24F51 #8BC24F #4FC2BF
split-complementary
#864FC2 #C2BF4F #51C24F
monochromatic
#4A2770 #68379D #864FC2 #A57CD2 #C4AAE2
Accessibility & contrast
On white
5.37
#864FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#864FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FC2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FC2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#7B6681
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864fc2; /* rgb */ color: rgb(134, 79, 194); /* oklch */ color: oklch(54.5% 0.175 303.1);
Tailwind
colors: {
custom: {
50: '#ad83d5',
500: '#864fc2',
950: '#000000',
},
}SCSS
$custom: #864fc2; $custom-light: #ad83d5; $custom-dark: #000000;
JSON
{
"hex": "#864fc2",
"rgb": {
"r": 134,
"g": 79,
"b": 194
},
"hsl": {
"h": 268.696,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.5455,
"c": 0.17491,
"h": 303.1
},
"luminance": 0.14555
}Semantic roles & 50–950 ramp
primary
#864FC2
secondary
#B7CF9E
accent
#D85097
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83