#7151E9#7151E9
#7151E9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.218 H 286.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7151E9 |
|---|---|
| RGB | rgb(113, 81, 233) |
| HSL | hsl(253, 78%, 62%) |
| HSV | hsv(253, 65%, 91%) |
| CMYK | cmyk(51.5%, 65.2%, 0%, 8.6%) |
| CIE-LAB | lab(46.01, 50.73, -72.60) |
| CIE-LCH | lch(46.01, 88.56, 304.94°) |
| OKLab | oklab(55.64% 0.0625 -0.2084) |
| OKLCH | oklch(55.64% 0.218 286.7) |
| XYZ | xyz(24.4561, 15.2775, 78.7352) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.06
Light Indigo
#6D5ACF
ΔE00 4.18
Purpleish Blue
#6140EF
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.56
Bluish Purple
#703BE7
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7151E9 #C9E951
analogous
#517DE9 #7151E9 #BD51E9
triadic
#7151E9 #E97151 #51E971
tetradic
#7151E9 #E9517D #C9E951 #51E9BD
square
#7151E9 #E9517D #C9E951 #51E9BD
split-complementary
#7151E9 #E9BD51 #7DE951
monochromatic
#3516AA #461CE0 #7151E9 #9D87F0 #CABEF7
Accessibility & contrast
On white
5.18
#7151E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7151E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7151E9
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7151E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7151E9 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#437796
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7151e9; /* rgb */ color: rgb(113, 81, 233); /* oklch */ color: oklch(55.6% 0.218 286.7);
Tailwind
colors: {
custom: {
50: '#a484f1',
500: '#7151e9',
950: '#000000',
},
}SCSS
$custom: #7151e9; $custom-light: #a484f1; $custom-dark: #000000;
JSON
{
"hex": "#7151e9",
"rgb": {
"r": 113,
"g": 81,
"b": 233
},
"hsl": {
"h": 252.632,
"s": 77.551,
"l": 61.569
},
"oklch": {
"l": 0.55635,
"c": 0.21754,
"h": 286.7
},
"luminance": 0.15279
}Semantic roles & 50–950 ramp
primary
#7151E9
secondary
#DBE7AF
accent
#DA0CAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85