#7154E9#7154E9
#7154E9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.214 H 286.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7154E9 |
|---|---|
| RGB | rgb(113, 84, 233) |
| HSL | hsl(252, 77%, 62%) |
| HSV | hsv(252, 64%, 91%) |
| CMYK | cmyk(51.5%, 63.9%, 0%, 8.6%) |
| CIE-LAB | lab(46.62, 49.08, -71.60) |
| CIE-LCH | lch(46.62, 86.81, 304.43°) |
| OKLab | oklab(56.08% 0.0597 -0.2054) |
| OKLCH | oklch(56.08% 0.214 286.2) |
| XYZ | xyz(24.6840, 15.7333, 78.8112) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.87
Purpley
#8756E4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.27
Dark Periwinkle
#665FD1
ΔE00 4.87
Purpleish Blue
#6140EF
ΔE00 5.21
Bluish Purple
#703BE7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7154E9 #CCE954
analogous
#5482E9 #7154E9 #BC54E9
triadic
#7154E9 #E97154 #54E971
tetradic
#7154E9 #E95482 #CCE954 #54E9BC
square
#7154E9 #E95482 #CCE954 #54E9BC
split-complementary
#7154E9 #E9BC54 #82E954
monochromatic
#3316AC #441EE2 #7154E9 #9E8AF0 #CBC0F7
Accessibility & contrast
On white
5.06
#7154E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7154E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7154E9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7154E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7154E9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#427997
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7154e9; /* rgb */ color: rgb(113, 84, 233); /* oklch */ color: oklch(56.1% 0.214 286.2);
Tailwind
colors: {
custom: {
50: '#a386f1',
500: '#7154e9',
950: '#000000',
},
}SCSS
$custom: #7154e9; $custom-light: #a386f1; $custom-dark: #000000;
JSON
{
"hex": "#7154e9",
"rgb": {
"r": 113,
"g": 84,
"b": 233
},
"hsl": {
"h": 251.678,
"s": 77.202,
"l": 62.157
},
"oklch": {
"l": 0.56077,
"c": 0.21393,
"h": 286.2
},
"luminance": 0.15735
}Semantic roles & 50–950 ramp
primary
#7154E9
secondary
#DDE8B1
accent
#D90CB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85