#864FBF#864FBF
#864FBF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.171 H 303.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #864FBF |
|---|---|
| RGB | rgb(134, 79, 191) |
| HSL | hsl(269, 47%, 53%) |
| HSV | hsv(269, 59%, 75%) |
| CMYK | cmyk(29.8%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(44.83, 44.92, -50.34) |
| CIE-LCH | lch(44.83, 67.47, 311.75°) |
| OKLab | oklab(54.35% 0.0955 -0.1423) |
| OKLCH | oklch(54.35% 0.171 303.9) |
| XYZ | xyz(22.0294, 14.4219, 50.9033) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.28
Deep Lavender
#8D5EB7
ΔE00 5.00
Purply
#983FB2
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.12
Amethyst
#9B5FC0
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FBF #88BF4F
analogous
#4F50BF #864FBF #BE4FBF
triadic
#864FBF #BF864F #4FBF86
tetradic
#864FBF #BF4F50 #88BF4F #4FBFBE
square
#864FBF #BF4F50 #88BF4F #4FBFBE
split-complementary
#864FBF #BFBE4F #50BF4F
monochromatic
#49276C #683899 #864FBF #A57CCF #C4A9E0
Accessibility & contrast
On white
5.41
#864FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#864FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FBF
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FBF | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#356ABC
Tritanopia (blue-blind)
#7C657F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864fbf; /* rgb */ color: rgb(134, 79, 191); /* oklch */ color: oklch(54.4% 0.171 303.9);
Tailwind
colors: {
custom: {
50: '#ad83d3',
500: '#864fbf',
950: '#000000',
},
}SCSS
$custom: #864fbf; $custom-light: #ad83d3; $custom-dark: #000000;
JSON
{
"hex": "#864fbf",
"rgb": {
"r": 134,
"g": 79,
"b": 191
},
"hsl": {
"h": 269.464,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.54354,
"c": 0.17138,
"h": 303.9
},
"luminance": 0.14422
}Semantic roles & 50–950 ramp
primary
#864FBF
secondary
#B5CD9D
accent
#D65195
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83