#6B4FDA#6B4FDA
#6B4FDA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.6% C 0.202 H 286.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4FDA |
|---|---|
| RGB | rgb(107, 79, 218) |
| HSL | hsl(252, 65%, 58%) |
| HSV | hsv(252, 64%, 85%) |
| CMYK | cmyk(50.9%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(43.91, 46.45, -67.52) |
| CIE-LCH | lch(43.91, 81.96, 304.53°) |
| OKLab | oklab(53.63% 0.0581 -0.1936) |
| OKLCH | oklch(53.63% 0.202 286.7) |
| XYZ | xyz(21.5105, 13.7787, 67.8422) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.36
Slate Blue
#6A5ACD
ΔE00 3.53
Purpleish Blue
#6140EF
ΔE00 4.15
Iris
#6258C4
ΔE00 4.36
Bluish Purple
#703BE7
ΔE00 4.49
Bluey Purple
#6241C7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4FDA #BEDA4F
analogous
#4F78DA #6B4FDA #B04FDA
triadic
#6B4FDA #DA6B4F #4FDA6B
tetradic
#6B4FDA #DA4F78 #BEDA4F #4FDAB0
square
#6B4FDA #DA4F78 #BEDA4F #4FDAB0
split-complementary
#6B4FDA #DAB04F #78DA4F
monochromatic
#351E90 #4829C3 #6B4FDA #9682E5 #C0B4EF
Accessibility & contrast
On white
5.59
#6B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#6B4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4FDA
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4FDA | 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)
#006BDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#41718D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6b4fda; /* rgb */ color: rgb(107, 79, 218); /* oklch */ color: oklch(53.6% 0.202 286.7);
Tailwind
colors: {
custom: {
50: '#9e82e6',
500: '#6b4fda',
950: '#000000',
},
}SCSS
$custom: #6b4fda; $custom-light: #9e82e6; $custom-dark: #000000;
JSON
{
"hex": "#6b4fda",
"rgb": {
"r": 107,
"g": 79,
"b": 218
},
"hsl": {
"h": 252.086,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.53628,
"c": 0.20217,
"h": 286.7
},
"luminance": 0.1378
}Semantic roles & 50–950 ramp
primary
#6B4FDA
secondary
#D3DEA7
accent
#E840C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84