#6D57CD#6D57CD
#6D57CD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.1% C 0.175 H 287.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6D57CD |
|---|---|
| RGB | rgb(109, 87, 205) |
| HSL | hsl(251, 54%, 57%) |
| HSV | hsv(251, 58%, 80%) |
| CMYK | cmyk(46.8%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.91, 38.45, -58.45) |
| CIE-LCH | lch(44.91, 69.97, 303.34°) |
| OKLab | oklab(54.1% 0.0531 -0.1669) |
| OKLCH | oklch(54.1% 0.175 287.6) |
| XYZ | xyz(20.7311, 14.4745, 59.4473) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 0.96
Slate Blue
#6A5ACD
ΔE00 1.12
Iris
#6258C4
ΔE00 2.45
Dark Periwinkle
#665FD1
ΔE00 3.04
Purpley
#8756E4
ΔE00 5.56
Warm Blue
#4B57DB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D57CD #B7CD57
analogous
#577CCD #6D57CD #A857CD
triadic
#6D57CD #CD6D57 #57CD6D
tetradic
#6D57CD #CD577C #B7CD57 #57CDA8
square
#6D57CD #CD577C #B7CD57 #57CDA8
split-complementary
#6D57CD #CDA857 #7CCD57
monochromatic
#382783 #4C35B2 #6D57CD #9686DB #BFB5E9
Accessibility & contrast
On white
5.39
#6D57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#6D57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D57CD
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D57CD | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#4E7289
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6d57cd; /* rgb */ color: rgb(109, 87, 205); /* oklch */ color: oklch(54.1% 0.175 287.6);
Tailwind
colors: {
custom: {
50: '#9d87dd',
500: '#6d57cd',
950: '#000000',
},
}SCSS
$custom: #6d57cd; $custom-light: #9d87dd; $custom-dark: #000000;
JSON
{
"hex": "#6d57cd",
"rgb": {
"r": 109,
"g": 87,
"b": 205
},
"hsl": {
"h": 251.186,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.54103,
"c": 0.17512,
"h": 287.6
},
"luminance": 0.14475
}Semantic roles & 50–950 ramp
primary
#6D57CD
secondary
#CFD8A8
accent
#DD4AC2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83