#9E48CF#9E48CF
#9E48CF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.206 H 310.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E48CF |
|---|---|
| RGB | rgb(158, 72, 207) |
| HSL | hsl(278, 58%, 55%) |
| HSV | hsv(278, 65%, 81%) |
| CMYK | cmyk(23.7%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(47.51, 57.68, -55.13) |
| CIE-LCH | lch(47.51, 79.79, 316.29°) |
| OKLab | oklab(57.26% 0.1344 -0.1556) |
| OKLCH | oklch(57.26% 0.206 310.8) |
| XYZ | xyz(27.6783, 16.4094, 60.7287) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.38
Lightish Purple
#A552E6
ΔE00 4.56
Purply
#983FB2
ΔE00 5.22
Amethyst
#9B5FC0
ΔE00 5.92
Vibrant Purple
#AD03DE
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E48CF #79CF48
analogous
#5A48CF #9E48CF #CF48BD
triadic
#9E48CF #CF9E48 #48CF9E
tetradic
#9E48CF #CF5A48 #79CF48 #48BDCF
square
#9E48CF #CF5A48 #79CF48 #48BDCF
split-complementary
#9E48CF #BDCF48 #48CF5A
monochromatic
#5B217C #7E2DAD #9E48CF #B878DC #D1A9E8
Accessibility & contrast
On white
4.90
#9E48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9E48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E48CF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E48CF | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#986385
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9e48cf; /* rgb */ color: rgb(158, 72, 207); /* oklch */ color: oklch(57.3% 0.206 310.8);
Tailwind
colors: {
custom: {
50: '#bf81de',
500: '#9e48cf',
950: '#000000',
},
}SCSS
$custom: #9e48cf; $custom-light: #bf81de; $custom-dark: #000000;
JSON
{
"hex": "#9e48cf",
"rgb": {
"r": 158,
"g": 72,
"b": 207
},
"hsl": {
"h": 278.222,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.5726,
"c": 0.20561,
"h": 310.8
},
"luminance": 0.16409
}Semantic roles & 50–950 ramp
primary
#9E48CF
secondary
#B2D69D
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83