#6D57CF#6D57CF
#6D57CF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.178 H 287.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6D57CF |
|---|---|
| RGB | rgb(109, 87, 207) |
| HSL | hsl(251, 56%, 58%) |
| HSV | hsv(251, 58%, 81%) |
| CMYK | cmyk(47.3%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(45.04, 39.04, -59.38) |
| CIE-LCH | lch(45.04, 71.06, 303.32°) |
| OKLab | oklab(54.25% 0.053 -0.1696) |
| OKLCH | oklch(54.25% 0.178 287.4) |
| XYZ | xyz(20.9741, 14.5717, 60.7269) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 0.90
Slate Blue
#6A5ACD
ΔE00 1.14
Iris
#6258C4
ΔE00 2.60
Dark Periwinkle
#665FD1
ΔE00 2.97
Purpley
#8756E4
ΔE00 5.40
Warm Blue
#4B57DB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D57CF #B9CF57
analogous
#577DCF #6D57CF #A957CF
triadic
#6D57CF #CF6D57 #57CF6D
tetradic
#6D57CF #CF577D #B9CF57 #57CFA9
square
#6D57CF #CF577D #B9CF57 #57CFA9
split-complementary
#6D57CF #CFA957 #7DCF57
monochromatic
#382685 #4B34B5 #6D57CF #9687DD #C0B6EA
Accessibility & contrast
On white
5.36
#6D57CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#6D57CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D57CF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D57CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D57CF | 1.00 | 5.36 | 3.91 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#4C728B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6d57cf; /* rgb */ color: rgb(109, 87, 207); /* oklch */ color: oklch(54.2% 0.178 287.4);
Tailwind
colors: {
custom: {
50: '#9e87de',
500: '#6d57cf',
950: '#000000',
},
}SCSS
$custom: #6d57cf; $custom-light: #9e87de; $custom-dark: #000000;
JSON
{
"hex": "#6d57cf",
"rgb": {
"r": 109,
"g": 87,
"b": 207
},
"hsl": {
"h": 251,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.54246,
"c": 0.17773,
"h": 287.4
},
"luminance": 0.14573
}Semantic roles & 50–950 ramp
primary
#6D57CF
secondary
#D0D9A9
accent
#DF49C3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83