#9E4FBB#9E4FBB
#9E4FBB is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.175 H 316.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4FBB |
|---|---|
| RGB | rgb(158, 79, 187) |
| HSL | hsl(284, 44%, 52%) |
| HSV | hsv(284, 58%, 73%) |
| CMYK | cmyk(15.5%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(47.56, 50.05, -43.49) |
| CIE-LCH | lch(47.56, 66.30, 319.01°) |
| OKLab | oklab(56.92% 0.1261 -0.1215) |
| OKLCH | oklch(56.92% 0.175 316.1) |
| XYZ | xyz(25.8648, 16.4498, 48.8167) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.15
Amethyst
#9B5FC0
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 4.96
Medium Purple
#9E43A2
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 6.03
Darkorchid
#9932CC
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4FBB #6CBB4F
analogous
#684FBB #9E4FBB #BB4FA2
triadic
#9E4FBB #BB9E4F #4FBB9E
tetradic
#9E4FBB #BB684F #6CBB4F #4FA2BB
square
#9E4FBB #BB684F #6CBB4F #4FA2BB
split-complementary
#9E4FBB #A2BB4F #4FBB68
monochromatic
#572868 #7B3994 #9E4FBB #B67BCC #CFA7DD
Accessibility & contrast
On white
4.90
#9E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9E4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4FBB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4FBB | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#9C617D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9e4fbb; /* rgb */ color: rgb(158, 79, 187); /* oklch */ color: oklch(56.9% 0.175 316.1);
Tailwind
colors: {
custom: {
50: '#bd84d0',
500: '#9e4fbb',
950: '#000000',
},
}SCSS
$custom: #9e4fbb; $custom-light: #bd84d0; $custom-dark: #000000;
JSON
{
"hex": "#9e4fbb",
"rgb": {
"r": 158,
"g": 79,
"b": 187
},
"hsl": {
"h": 283.889,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.56917,
"c": 0.17512,
"h": 316.1
},
"luminance": 0.16449
}Semantic roles & 50–950 ramp
primary
#9E4FBB
secondary
#A8CA9B
accent
#D45476
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82