#7B58CD#7B58CD
#7B58CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.174 H 293.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7B58CD |
|---|---|
| RGB | rgb(123, 88, 205) |
| HSL | hsl(258, 54%, 57%) |
| HSV | hsv(258, 57%, 80%) |
| CMYK | cmyk(40%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(46.44, 40.95, -55.91) |
| CIE-LCH | lch(46.44, 69.30, 306.22°) |
| OKLab | oklab(55.55% 0.07 -0.159) |
| OKLCH | oklch(55.55% 0.174 293.8) |
| XYZ | xyz(22.6746, 15.5976, 59.5618) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.40
Purpley
#8756E4
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.86
Iris
#6258C4
ΔE00 4.91
Royal Purple
#7851A9
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B58CD #AACD58
analogous
#586FCD #7B58CD #B658CD
triadic
#7B58CD #CD7B58 #58CD7B
tetradic
#7B58CD #CD586F #AACD58 #58CDB6
square
#7B58CD #CD586F #AACD58 #58CDB6
split-complementary
#7B58CD #CDB658 #6FCD58
monochromatic
#432783 #5B35B2 #7B58CD #A087DB #C5B6E9
Accessibility & contrast
On white
5.10
#7B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#7B58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B58CD
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B58CD | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#66718A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b58cd; /* rgb */ color: rgb(123, 88, 205); /* oklch */ color: oklch(55.5% 0.174 293.8);
Tailwind
colors: {
custom: {
50: '#a688dd',
500: '#7b58cd',
950: '#000000',
},
}SCSS
$custom: #7b58cd; $custom-light: #a688dd; $custom-dark: #000000;
JSON
{
"hex": "#7b58cd",
"rgb": {
"r": 123,
"g": 88,
"b": 205
},
"hsl": {
"h": 257.949,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.55548,
"c": 0.17371,
"h": 293.8
},
"luminance": 0.15598
}Semantic roles & 50–950 ramp
primary
#7B58CD
secondary
#CAD8A9
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83