#7B57CD#7B57CD
#7B57CD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.175 H 294.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7B57CD |
|---|---|
| RGB | rgb(123, 87, 205) |
| HSL | hsl(258, 54%, 57%) |
| HSV | hsv(258, 58%, 80%) |
| CMYK | cmyk(40%, 57.6%, 0%, 19.6%) |
| CIE-LAB | lab(46.22, 41.52, -56.26) |
| CIE-LCH | lch(46.22, 69.92, 306.43°) |
| OKLab | oklab(55.39% 0.0712 -0.16) |
| OKLCH | oklch(55.39% 0.175 294) |
| XYZ | xyz(22.5931, 15.4346, 59.5346) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.47
Purpley
#8756E4
ΔE00 3.81
Iris
#6258C4
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B57CD #A9CD57
analogous
#576ECD #7B57CD #B657CD
triadic
#7B57CD #CD7B57 #57CD7B
tetradic
#7B57CD #CD576E #A9CD57 #57CDB6
square
#7B57CD #CD576E #A9CD57 #57CDB6
split-complementary
#7B57CD #CDB657 #6ECD57
monochromatic
#432783 #5B35B2 #7B57CD #A086DB #C5B5E9
Accessibility & contrast
On white
5.14
#7B57CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#7B57CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B57CD
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B57CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B57CD | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#226CCA
Tritanopia (blue-blind)
#66708A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7b57cd; /* rgb */ color: rgb(123, 87, 205); /* oklch */ color: oklch(55.4% 0.175 294.0);
Tailwind
colors: {
custom: {
50: '#a688dd',
500: '#7b57cd',
950: '#000000',
},
}SCSS
$custom: #7b57cd; $custom-light: #a688dd; $custom-dark: #000000;
JSON
{
"hex": "#7b57cd",
"rgb": {
"r": 123,
"g": 87,
"b": 205
},
"hsl": {
"h": 258.305,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.55387,
"c": 0.17515,
"h": 294
},
"luminance": 0.15435
}Semantic roles & 50–950 ramp
primary
#7B57CD
secondary
#C9D8A8
accent
#DD4AB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83