#7B57CF#7B57CF
#7B57CF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.178 H 293.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7B57CF |
|---|---|
| RGB | rgb(123, 87, 207) |
| HSL | hsl(258, 56%, 58%) |
| HSV | hsv(258, 58%, 81%) |
| CMYK | cmyk(40.6%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(46.35, 42.07, -57.20) |
| CIE-LCH | lch(46.35, 71.00, 306.33°) |
| OKLab | oklab(55.53% 0.0712 -0.1628) |
| OKLCH | oklch(55.53% 0.178 293.6) |
| XYZ | xyz(22.8360, 15.5318, 60.8141) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.42
Purpley
#8756E4
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.92
Iris
#6258C4
ΔE00 4.97
Royal Purple
#7851A9
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B57CF #ABCF57
analogous
#576FCF #7B57CF #B757CF
triadic
#7B57CF #CF7B57 #57CF7B
tetradic
#7B57CF #CF576F #ABCF57 #57CFB7
square
#7B57CF #CF576F #ABCF57 #57CFB7
split-complementary
#7B57CF #CFB757 #6FCF57
monochromatic
#432685 #5B34B5 #7B57CF #A087DD #C6B6EA
Accessibility & contrast
On white
5.11
#7B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7B57CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B57CF
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B57CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B57CF | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#1D6CCC
Tritanopia (blue-blind)
#65718B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b57cf; /* rgb */ color: rgb(123, 87, 207); /* oklch */ color: oklch(55.5% 0.178 293.6);
Tailwind
colors: {
custom: {
50: '#a688de',
500: '#7b57cf',
950: '#000000',
},
}SCSS
$custom: #7b57cf; $custom-light: #a688de; $custom-dark: #000000;
JSON
{
"hex": "#7b57cf",
"rgb": {
"r": 123,
"g": 87,
"b": 207
},
"hsl": {
"h": 258,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.55525,
"c": 0.17766,
"h": 293.6
},
"luminance": 0.15532
}Semantic roles & 50–950 ramp
primary
#7B57CF
secondary
#CBD9A9
accent
#DF49B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83