#7159BE#7159BE
#7159BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.8% C 0.152 H 291.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7159BE |
|---|---|
| RGB | rgb(113, 89, 190) |
| HSL | hsl(254, 44%, 55%) |
| HSV | hsv(254, 53%, 75%) |
| CMYK | cmyk(40.5%, 53.2%, 0%, 25.5%) |
| CIE-LAB | lab(44.76, 33.86, -49.99) |
| CIE-LCH | lch(44.76, 60.38, 304.11°) |
| OKLab | oklab(53.77% 0.0555 -0.1419) |
| OKLCH | oklch(53.77% 0.152 291.4) |
| XYZ | xyz(19.6742, 14.3726, 50.4428) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 2.95
Iris
#6258C4
ΔE00 3.26
Dark Periwinkle
#665FD1
ΔE00 4.45
Royal Purple
#7851A9
ΔE00 5.03
Purpley
#8756E4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7159BE #A6BE59
analogous
#5974BE #7159BE #A359BE
triadic
#7159BE #BE7159 #59BE71
tetradic
#7159BE #BE5974 #A6BE59 #59BEA3
square
#7159BE #BE5974 #A6BE59 #59BEA3
split-complementary
#7159BE #BEA359 #74BE59
monochromatic
#3C2C71 #543D9D #7159BE #9785CF #BCB1E0
Accessibility & contrast
On white
5.42
#7159BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7159BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7159BE
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7159BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7159BE | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC1
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#5C6E83
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7159be; /* rgb */ color: rgb(113, 89, 190); /* oklch */ color: oklch(53.8% 0.152 291.4);
Tailwind
colors: {
custom: {
50: '#9e88d2',
500: '#7159be',
950: '#000000',
},
}SCSS
$custom: #7159be; $custom-light: #9e88d2; $custom-dark: #000000;
JSON
{
"hex": "#7159be",
"rgb": {
"r": 113,
"g": 89,
"b": 190
},
"hsl": {
"h": 254.257,
"s": 43.723,
"l": 54.706
},
"oklch": {
"l": 0.53775,
"c": 0.15236,
"h": 291.4
},
"luminance": 0.14373
}Semantic roles & 50–950 ramp
primary
#7159BE
secondary
#C5CFA4
accent
#D354B5
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0B14
muted
#7F7C83