#7B59CC#7B59CC
#7B59CC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.6% C 0.171 H 293.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59CC |
|---|---|
| RGB | rgb(123, 89, 204) |
| HSL | hsl(258, 53%, 57%) |
| HSV | hsv(258, 56%, 80%) |
| CMYK | cmyk(39.7%, 56.4%, 0%, 20%) |
| CIE-LAB | lab(46.60, 40.11, -55.08) |
| CIE-LCH | lch(46.60, 68.14, 306.06°) |
| OKLab | oklab(55.64% 0.0688 -0.1566) |
| OKLCH | oklch(55.64% 0.171 293.7) |
| XYZ | xyz(22.6369, 15.7148, 58.9556) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 3.38
Purpley
#8756E4
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.78
Iris
#6258C4
ΔE00 4.88
Deep Lavender
#8D5EB7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59CC #AACC59
analogous
#5971CC #7B59CC #B459CC
triadic
#7B59CC #CC7B59 #59CC7B
tetradic
#7B59CC #CC5971 #AACC59 #59CCB4
square
#7B59CC #CC5971 #AACC59 #59CCB4
split-complementary
#7B59CC #CCB459 #71CC59
monochromatic
#432883 #5B36B1 #7B59CC #A088DA #C5B7E9
Accessibility & contrast
On white
5.07
#7B59CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#7B59CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59CC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59CC | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#66718A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b59cc; /* rgb */ color: rgb(123, 89, 204); /* oklch */ color: oklch(55.6% 0.171 293.7);
Tailwind
colors: {
custom: {
50: '#a689dc',
500: '#7b59cc',
950: '#000000',
},
}SCSS
$custom: #7b59cc; $custom-light: #a689dc; $custom-dark: #000000;
JSON
{
"hex": "#7b59cc",
"rgb": {
"r": 123,
"g": 89,
"b": 204
},
"hsl": {
"h": 257.739,
"s": 52.995,
"l": 57.451
},
"oklch": {
"l": 0.55642,
"c": 0.17101,
"h": 293.7
},
"luminance": 0.15715
}Semantic roles & 50–950 ramp
primary
#7B59CC
secondary
#CAD8A9
accent
#DC4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83