#6D54CD#6D54CD
#6D54CD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.179 H 288.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6D54CD |
|---|---|
| RGB | rgb(109, 84, 205) |
| HSL | hsl(252, 55%, 57%) |
| HSV | hsv(252, 59%, 80%) |
| CMYK | cmyk(46.8%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(44.23, 40.20, -59.54) |
| CIE-LCH | lch(44.23, 71.85, 304.03°) |
| OKLab | oklab(53.61% 0.0564 -0.1701) |
| OKLCH | oklch(53.61% 0.179 288.3) |
| XYZ | xyz(20.4933, 13.9988, 59.3680) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.81
Slate Blue
#6A5ACD
ΔE00 1.93
Iris
#6258C4
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 3.83
Bluey Purple
#6241C7
ΔE00 5.39
Purpley
#8756E4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D54CD #B4CD54
analogous
#5478CD #6D54CD #AA54CD
triadic
#6D54CD #CD6D54 #54CD6D
tetradic
#6D54CD #CD5478 #B4CD54 #54CDAA
square
#6D54CD #CD5478 #B4CD54 #54CDAA
split-complementary
#6D54CD #CDAA54 #78CD54
monochromatic
#392681 #4D34B0 #6D54CD #9583DB #BEB3E9
Accessibility & contrast
On white
5.53
#6D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#6D54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D54CD
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D54CD | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#4E7088
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6d54cd; /* rgb */ color: rgb(109, 84, 205); /* oklch */ color: oklch(53.6% 0.179 288.3);
Tailwind
colors: {
custom: {
50: '#9e85dd',
500: '#6d54cd',
950: '#000000',
},
}SCSS
$custom: #6d54cd; $custom-light: #9e85dd; $custom-dark: #000000;
JSON
{
"hex": "#6d54cd",
"rgb": {
"r": 109,
"g": 84,
"b": 205
},
"hsl": {
"h": 252.397,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.53607,
"c": 0.17921,
"h": 288.3
},
"luminance": 0.14
}Semantic roles & 50–950 ramp
primary
#6D54CD
secondary
#CDD7A6
accent
#DE4ABF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83