#9152E1#9152E1
#9152E1 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.208 H 300.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9152E1 |
|---|---|
| RGB | rgb(145, 82, 225) |
| HSL | hsl(266, 70%, 60%) |
| HSV | hsv(266, 64%, 88%) |
| CMYK | cmyk(35.6%, 63.6%, 0%, 11.8%) |
| CIE-LAB | lab(48.87, 54.18, -63.28) |
| CIE-LCH | lch(48.87, 83.31, 310.57°) |
| OKLab | oklab(58.27% 0.105 -0.1799) |
| OKLCH | oklch(58.27% 0.208 300.3) |
| XYZ | xyz(28.2816, 17.4904, 73.1055) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.07
Lightish Purple
#A552E6
ΔE00 3.72
Lighter Purple
#A55AF4
ΔE00 5.14
Electric Purple
#AA23FF
ΔE00 6.72
Amethyst
#9B5FC0
ΔE00 7.09
Light Indigo
#6D5ACF
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9152E1 #A2E152
analogous
#525AE1 #9152E1 #D952E1
triadic
#9152E1 #E19152 #52E191
tetradic
#9152E1 #E1525A #A2E152 #52E1D9
square
#9152E1 #E1525A #A2E152 #52E1D9
split-complementary
#9152E1 #E1D952 #5AE152
monochromatic
#551B9D #7124D1 #9152E1 #B286EA #D3BAF3
Accessibility & contrast
On white
4.67
#9152E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9152E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9152E1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9152E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9152E1 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#1073DE
Tritanopia (blue-blind)
#807292
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9152e1; /* rgb */ color: rgb(145, 82, 225); /* oklch */ color: oklch(58.3% 0.208 300.3);
Tailwind
colors: {
custom: {
50: '#b686eb',
500: '#9152e1',
950: '#000000',
},
}SCSS
$custom: #9152e1; $custom-light: #b686eb; $custom-dark: #000000;
JSON
{
"hex": "#9152e1",
"rgb": {
"r": 145,
"g": 82,
"b": 225
},
"hsl": {
"h": 266.434,
"s": 70.443,
"l": 60.196
},
"oklch": {
"l": 0.58273,
"c": 0.20832,
"h": 300.3
},
"luminance": 0.17491
}Semantic roles & 50–950 ramp
primary
#9152E1
secondary
#CBE3AC
accent
#D2137E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84