#6F57CF#6F57CF
#6F57CF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.4% C 0.178 H 288.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6F57CF |
|---|---|
| RGB | rgb(111, 87, 207) |
| HSL | hsl(252, 56%, 58%) |
| HSV | hsv(252, 58%, 81%) |
| CMYK | cmyk(46.4%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(45.22, 39.46, -59.09) |
| CIE-LCH | lch(45.22, 71.05, 303.73°) |
| OKLab | oklab(54.42% 0.0556 -0.1687) |
| OKLCH | oklch(54.42% 0.178 288.2) |
| XYZ | xyz(21.2230, 14.7000, 60.7385) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.00
Slate Blue
#6A5ACD
ΔE00 1.38
Iris
#6258C4
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.19
Purpley
#8756E4
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F57CF #B7CF57
analogous
#577BCF #6F57CF #AB57CF
triadic
#6F57CF #CF6F57 #57CF6F
tetradic
#6F57CF #CF577B #B7CF57 #57CFAB
square
#6F57CF #CF577B #B7CF57 #57CFAB
split-complementary
#6F57CF #CFAB57 #7BCF57
monochromatic
#392685 #4E34B5 #6F57CF #9887DD #C1B6EA
Accessibility & contrast
On white
5.33
#6F57CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#6F57CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F57CF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F57CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F57CF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#50728B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6f57cf; /* rgb */ color: rgb(111, 87, 207); /* oklch */ color: oklch(54.4% 0.178 288.2);
Tailwind
colors: {
custom: {
50: '#9f87de',
500: '#6f57cf',
950: '#000000',
},
}SCSS
$custom: #6f57cf; $custom-light: #9f87de; $custom-dark: #000000;
JSON
{
"hex": "#6f57cf",
"rgb": {
"r": 111,
"g": 87,
"b": 207
},
"hsl": {
"h": 252,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.54421,
"c": 0.17762,
"h": 288.2
},
"luminance": 0.14701
}Semantic roles & 50–950 ramp
primary
#6F57CF
secondary
#CFD9A9
accent
#DF49C1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83