#9148E2#9148E2
#9148E2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.222 H 301.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9148E2 |
|---|---|
| RGB | rgb(145, 72, 226) |
| HSL | hsl(268, 73%, 58%) |
| HSV | hsv(268, 68%, 89%) |
| CMYK | cmyk(35.8%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(47.16, 59.31, -66.61) |
| CIE-LCH | lch(47.16, 89.19, 311.68°) |
| OKLab | oklab(57.07% 0.1154 -0.1897) |
| OKLCH | oklch(57.07% 0.222 301.3) |
| XYZ | xyz(27.7186, 16.1453, 73.5928) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Lightish Purple
#A552E6
ΔE00 4.80
Blueviolet
#8A2BE2
ΔE00 5.36
Electric Purple
#AA23FF
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.50
Bright Violet
#AD0AFD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9148E2 #99E248
analogous
#484CE2 #9148E2 #DE48E2
triadic
#9148E2 #E29148 #48E291
tetradic
#9148E2 #E2484C #99E248 #48E2DE
square
#9148E2 #E2484C #99E248 #48E2DE
split-complementary
#9148E2 #E2DE48 #4CE248
monochromatic
#541898 #7220CC #9148E2 #B17DEA #D1B2F3
Accessibility & contrast
On white
4.97
#9148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9148E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9148E2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9148E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9148E2 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#806C90
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9148e2; /* rgb */ color: rgb(145, 72, 226); /* oklch */ color: oklch(57.1% 0.222 301.3);
Tailwind
colors: {
custom: {
50: '#b780ec',
500: '#9148e2',
950: '#000000',
},
}SCSS
$custom: #9148e2; $custom-light: #b780ec; $custom-dark: #000000;
JSON
{
"hex": "#9148e2",
"rgb": {
"r": 145,
"g": 72,
"b": 226
},
"hsl": {
"h": 268.442,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.57068,
"c": 0.22207,
"h": 301.3
},
"luminance": 0.16145
}Semantic roles & 50–950 ramp
primary
#9148E2
secondary
#C4E1A4
accent
#EF3899
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84