#6B54CD#6B54CD
#6B54CD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.179 H 287.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #6B54CD |
|---|---|
| RGB | rgb(107, 84, 205) |
| HSL | hsl(251, 55%, 57%) |
| HSV | hsv(251, 59%, 80%) |
| CMYK | cmyk(47.8%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(44.05, 39.79, -59.84) |
| CIE-LCH | lch(44.05, 71.87, 303.62°) |
| OKLab | oklab(53.43% 0.0538 -0.171) |
| OKLCH | oklch(53.43% 0.179 287.5) |
| XYZ | xyz(20.2500, 13.8733, 59.3566) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.81
Slate Blue
#6A5ACD
ΔE00 1.82
Iris
#6258C4
ΔE00 2.52
Dark Periwinkle
#665FD1
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 5.31
Warm Blue
#4B57DB
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B54CD #B6CD54
analogous
#547ACD #6B54CD #A854CD
triadic
#6B54CD #CD6B54 #54CD6B
tetradic
#6B54CD #CD547A #B6CD54 #54CDA8
square
#6B54CD #CD547A #B6CD54 #54CDA8
split-complementary
#6B54CD #CDA854 #7ACD54
monochromatic
#372681 #4B34B0 #6B54CD #9483DB #BDB3E9
Accessibility & contrast
On white
5.56
#6B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6B54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B54CD
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B54CD | 1.00 | 5.56 | 3.77 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#4A7088
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6b54cd; /* rgb */ color: rgb(107, 84, 205); /* oklch */ color: oklch(53.4% 0.179 287.5);
Tailwind
colors: {
custom: {
50: '#9c85dd',
500: '#6b54cd',
950: '#000000',
},
}SCSS
$custom: #6b54cd; $custom-light: #9c85dd; $custom-dark: #000000;
JSON
{
"hex": "#6b54cd",
"rgb": {
"r": 107,
"g": 84,
"b": 205
},
"hsl": {
"h": 251.405,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.5343,
"c": 0.17931,
"h": 287.5
},
"luminance": 0.13874
}Semantic roles & 50–950 ramp
primary
#6B54CD
secondary
#CED7A6
accent
#DE4AC2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83