#7159C8#7159C8
#7159C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.4% C 0.166 H 289.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7159C8 |
|---|---|
| RGB | rgb(113, 89, 200) |
| HSL | hsl(253, 50%, 57%) |
| HSV | hsv(253, 56%, 78%) |
| CMYK | cmyk(43.5%, 55.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.39, 36.70, -54.77) |
| CIE-LCH | lch(45.39, 65.93, 303.83°) |
| OKLab | oklab(54.45% 0.0559 -0.1559) |
| OKLCH | oklch(54.45% 0.166 289.7) |
| XYZ | xyz(20.8048, 14.8249, 56.3977) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.45
Slate Blue
#6A5ACD
ΔE00 1.69
Iris
#6258C4
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.40
Purpley
#8756E4
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7159C8 #B0C859
analogous
#5979C8 #7159C8 #A959C8
triadic
#7159C8 #C87159 #59C871
tetradic
#7159C8 #C85979 #B0C859 #59C8A9
square
#7159C8 #C85979 #B0C859 #59C8A9
split-complementary
#7159C8 #C8A959 #79C859
monochromatic
#3C297D #5139AB #7159C8 #9887D7 #C0B5E6
Accessibility & contrast
On white
5.30
#7159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#7159C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7159C8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7159C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7159C8 | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#2169C6
Tritanopia (blue-blind)
#577188
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7159c8; /* rgb */ color: rgb(113, 89, 200); /* oklch */ color: oklch(54.4% 0.166 289.7);
Tailwind
colors: {
custom: {
50: '#9f88d9',
500: '#7159c8',
950: '#000000',
},
}SCSS
$custom: #7159c8; $custom-light: #9f88d9; $custom-dark: #000000;
JSON
{
"hex": "#7159c8",
"rgb": {
"r": 113,
"g": 89,
"b": 200
},
"hsl": {
"h": 252.973,
"s": 50.226,
"l": 56.667
},
"oklch": {
"l": 0.54445,
"c": 0.16563,
"h": 289.7
},
"luminance": 0.14826
}Semantic roles & 50–950 ramp
primary
#7159C8
secondary
#CBD5A8
accent
#DA4EBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83