#6B4BCA#6B4BCA
#6B4BCA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.187 H 289.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6B4BCA |
|---|---|
| RGB | rgb(107, 75, 202) |
| HSL | hsl(255, 55%, 54%) |
| HSV | hsv(255, 63%, 79%) |
| CMYK | cmyk(47%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.88, 44.09, -61.63) |
| CIE-LCH | lch(41.88, 75.78, 305.58°) |
| OKLab | oklab(51.78% 0.0636 -0.1763) |
| OKLCH | oklch(51.78% 0.187 289.8) |
| XYZ | xyz(19.2371, 12.4215, 57.2496) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.95
Light Indigo
#6D5ACF
ΔE00 4.35
Iris
#6258C4
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.36
Bluish Purple
#703BE7
ΔE00 4.79
Purpleish Blue
#6140EF
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B4BCA #AACA4B
analogous
#4B6BCA #6B4BCA #AB4BCA
triadic
#6B4BCA #CA6B4B #4BCA6B
tetradic
#6B4BCA #CA4B6B #AACA4B #4BCAAB
square
#6B4BCA #CA4B6B #AACA4B #4BCAAB
split-complementary
#6B4BCA #CAAB4B #6BCA4B
monochromatic
#382377 #4F31A7 #6B4BCA #927AD8 #B9AAE6
Accessibility & contrast
On white
6.03
#6B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6B4BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B4BCA
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B4BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B4BCA | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#4D6983
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6b4bca; /* rgb */ color: rgb(107, 75, 202); /* oklch */ color: oklch(51.8% 0.187 289.8);
Tailwind
colors: {
custom: {
50: '#9d7fdb',
500: '#6b4bca',
950: '#000000',
},
}SCSS
$custom: #6b4bca; $custom-light: #9d7fdb; $custom-dark: #000000;
JSON
{
"hex": "#6b4bca",
"rgb": {
"r": 107,
"g": 75,
"b": 202
},
"hsl": {
"h": 255.118,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.51776,
"c": 0.18746,
"h": 289.8
},
"luminance": 0.12422
}Semantic roles & 50–950 ramp
primary
#6B4BCA
secondary
#C6D39D
accent
#DE4AB9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83