#6B4EDD#6B4EDD
#6B4EDD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.7% C 0.207 H 286.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4EDD |
|---|---|
| RGB | rgb(107, 78, 221) |
| HSL | hsl(252, 68%, 59%) |
| HSV | hsv(252, 65%, 87%) |
| CMYK | cmyk(51.6%, 64.7%, 0%, 13.3%) |
| CIE-LAB | lab(43.94, 47.88, -69.20) |
| CIE-LCH | lch(43.94, 84.15, 304.68°) |
| OKLab | oklab(53.72% 0.0588 -0.1986) |
| OKLCH | oklch(53.72% 0.207 286.5) |
| XYZ | xyz(21.8351, 13.7939, 69.9046) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.73
Purpleish Blue
#6140EF
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.17
Iris
#6258C4
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4EDD #C0DD4E
analogous
#4E78DD #6B4EDD #B24EDD
triadic
#6B4EDD #DD6B4E #4EDD6B
tetradic
#6B4EDD #DD4E78 #C0DD4E #4EDDB2
square
#6B4EDD #DD4E78 #C0DD4E #4EDDB2
split-complementary
#6B4EDD #DDB24E #78DD4E
monochromatic
#351C94 #4726C7 #6B4EDD #9681E7 #C1B5F1
Accessibility & contrast
On white
5.59
#6B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#6B4EDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4EDD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4EDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4EDD | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#3F718F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6b4edd; /* rgb */ color: rgb(107, 78, 221); /* oklch */ color: oklch(53.7% 0.207 286.5);
Tailwind
colors: {
custom: {
50: '#9f81e9',
500: '#6b4edd',
950: '#000000',
},
}SCSS
$custom: #6b4edd; $custom-light: #9f81e9; $custom-dark: #000000;
JSON
{
"hex": "#6b4edd",
"rgb": {
"r": 107,
"g": 78,
"b": 221
},
"hsl": {
"h": 252.168,
"s": 67.773,
"l": 58.627
},
"oklch": {
"l": 0.53716,
"c": 0.20708,
"h": 286.5
},
"luminance": 0.13795
}Semantic roles & 50–950 ramp
primary
#6B4EDD
secondary
#D4E0A7
accent
#EB3DC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84