#6B4BD4#6B4BD4
#6B4BD4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.200 H 288.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4BD4 |
|---|---|
| RGB | rgb(107, 75, 212) |
| HSL | hsl(254, 61%, 56%) |
| HSV | hsv(254, 65%, 83%) |
| CMYK | cmyk(49.5%, 64.6%, 0%, 16.9%) |
| CIE-LAB | lab(42.63, 46.95, -66.18) |
| CIE-LCH | lch(42.63, 81.14, 305.35°) |
| OKLab | oklab(52.55% 0.0627 -0.1897) |
| OKLCH | oklch(52.55% 0.2 288.3) |
| XYZ | xyz(20.4597, 12.9105, 63.6885) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.51
Bluish Purple
#703BE7
ΔE00 3.91
Purpleish Blue
#6140EF
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.29
Iris
#6258C4
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4BD4 #B4D44B
analogous
#4B70D4 #6B4BD4 #B04BD4
triadic
#6B4BD4 #D46B4B #4BD46B
tetradic
#6B4BD4 #D44B70 #B4D44B #4BD4B0
square
#6B4BD4 #D44B70 #B4D44B #4BD4B0
split-complementary
#6B4BD4 #D4B04B #70D44B
monochromatic
#372085 #4C2CB6 #6B4BD4 #947CE0 #BCAEEC
Accessibility & contrast
On white
5.86
#6B4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6B4BD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4BD4
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4BD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4BD4 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#466C89
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6b4bd4; /* rgb */ color: rgb(107, 75, 212); /* oklch */ color: oklch(52.6% 0.200 288.3);
Tailwind
colors: {
custom: {
50: '#9e7fe2',
500: '#6b4bd4',
950: '#000000',
},
}SCSS
$custom: #6b4bd4; $custom-light: #9e7fe2; $custom-dark: #000000;
JSON
{
"hex": "#6b4bd4",
"rgb": {
"r": 107,
"g": 75,
"b": 212
},
"hsl": {
"h": 254.015,
"s": 61.435,
"l": 56.275
},
"oklch": {
"l": 0.52554,
"c": 0.19978,
"h": 288.3
},
"luminance": 0.12911
}Semantic roles & 50–950 ramp
primary
#6B4BD4
secondary
#CCDAA1
accent
#E543BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84