#866FBE#866FBE
#866FBE is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.7% C 0.119 H 296.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #866FBE |
|---|---|
| RGB | rgb(134, 111, 190) |
| HSL | hsl(257, 38%, 59%) |
| HSV | hsv(257, 42%, 75%) |
| CMYK | cmyk(29.5%, 41.6%, 0%, 25.5%) |
| CIE-LAB | lab(52.01, 26.38, -38.35) |
| CIE-LCH | lch(52.01, 46.55, 304.52°) |
| OKLab | oklab(59.68% 0.0523 -0.1073) |
| OKLCH | oklch(59.68% 0.119 296) |
| XYZ | xyz(24.8080, 20.1546, 51.2884) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.02
Mediumpurple
#9370DB
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 6.03
Amethyst
#9B5FC0
ΔE00 7.00
Soft Purple
#A66FB5
ΔE00 8.65
Dark Lavender
#856798
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FBE #A7BE6F
analogous
#6F80BE #866FBE #AE6FBE
triadic
#866FBE #BE866F #6FBE86
tetradic
#866FBE #BE6F80 #A7BE6F #6FBEAE
square
#866FBE #BE6F80 #A7BE6F #6FBEAE
split-complementary
#866FBE #BEAE6F #80BE6F
monochromatic
#4B387B #654BA5 #866FBE #A999D1 #CDC3E4
Accessibility & contrast
On white
4.17
#866FBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#866FBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FBE
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FBE | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587DC1
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#7A7D8D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866fbe; /* rgb */ color: rgb(134, 111, 190); /* oklch */ color: oklch(59.7% 0.119 296.0);
Tailwind
colors: {
custom: {
50: '#ab98d2',
500: '#866fbe',
950: '#000000',
},
}SCSS
$custom: #866fbe; $custom-light: #ab98d2; $custom-dark: #000000;
JSON
{
"hex": "#866fbe",
"rgb": {
"r": 134,
"g": 111,
"b": 190
},
"hsl": {
"h": 257.468,
"s": 37.799,
"l": 59.02
},
"oklch": {
"l": 0.59683,
"c": 0.11939,
"h": 296
},
"luminance": 0.20155
}Semantic roles & 50–950 ramp
primary
#866FBE
secondary
#CBD4B5
accent
#CE5AAC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82