#7F57CC#7F57CC
#7F57CC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.174 H 296.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F57CC |
|---|---|
| RGB | rgb(127, 87, 204) |
| HSL | hsl(261, 53%, 57%) |
| HSV | hsv(261, 57%, 80%) |
| CMYK | cmyk(37.7%, 57.4%, 0%, 20%) |
| CIE-LAB | lab(46.56, 42.17, -55.12) |
| CIE-LCH | lch(46.56, 69.40, 307.42°) |
| OKLab | oklab(55.71% 0.0764 -0.1565) |
| OKLCH | oklch(55.71% 0.174 296) |
| XYZ | xyz(23.0569, 15.6876, 58.9283) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.27
Iris
#6258C4
ΔE00 5.70
Dark Periwinkle
#665FD1
ΔE00 5.74
Deep Lavender
#8D5EB7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F57CC #A4CC57
analogous
#576ACC #7F57CC #BA57CC
triadic
#7F57CC #CC7F57 #57CC7F
tetradic
#7F57CC #CC576A #A4CC57 #57CCBA
square
#7F57CC #CC576A #A4CC57 #57CCBA
split-complementary
#7F57CC #CCBA57 #6ACC57
monochromatic
#462781 #5F36B0 #7F57CC #A386DA #C7B5E9
Accessibility & contrast
On white
5.08
#7F57CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7F57CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F57CC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F57CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F57CC | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#296DC9
Tritanopia (blue-blind)
#6C7089
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7f57cc; /* rgb */ color: rgb(127, 87, 204); /* oklch */ color: oklch(55.7% 0.174 296.0);
Tailwind
colors: {
custom: {
50: '#a988dc',
500: '#7f57cc',
950: '#000000',
},
}SCSS
$custom: #7f57cc; $custom-light: #a988dc; $custom-dark: #000000;
JSON
{
"hex": "#7f57cc",
"rgb": {
"r": 127,
"g": 87,
"b": 204
},
"hsl": {
"h": 260.513,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.55709,
"c": 0.1742,
"h": 296
},
"luminance": 0.15688
}Semantic roles & 50–950 ramp
primary
#7F57CC
secondary
#C7D7A8
accent
#DD4BAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83