#9B4EDD#9B4EDD
#9B4EDD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.211 H 305.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4EDD |
|---|---|
| RGB | rgb(155, 78, 221) |
| HSL | hsl(272, 68%, 59%) |
| HSV | hsv(272, 65%, 87%) |
| CMYK | cmyk(29.9%, 64.7%, 0%, 13.3%) |
| CIE-LAB | lab(49.05, 57.32, -60.66) |
| CIE-LCH | lch(49.05, 83.46, 313.38°) |
| OKLab | oklab(58.58% 0.1228 -0.1719) |
| OKLCH | oklch(58.58% 0.211 305.5) |
| XYZ | xyz(29.2903, 17.6380, 70.2540) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.58
Purpley
#8756E4
ΔE00 4.18
Lighter Purple
#A55AF4
ΔE00 5.03
Electric Purple
#AA23FF
ΔE00 5.99
Darkorchid
#9932CC
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4EDD #90DD4E
analogous
#534EDD #9B4EDD #DD4ED7
triadic
#9B4EDD #DD9B4E #4EDD9B
tetradic
#9B4EDD #DD534E #90DD4E #4ED7DD
square
#9B4EDD #DD534E #90DD4E #4ED7DD
split-complementary
#9B4EDD #D7DD4E #4EDD53
monochromatic
#5D1C94 #7D26C7 #9B4EDD #B881E7 #D5B5F1
Accessibility & contrast
On white
4.64
#9B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#9B4EDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4EDD
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4EDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4EDD | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#8F6D8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b4edd; /* rgb */ color: rgb(155, 78, 221); /* oklch */ color: oklch(58.6% 0.211 305.5);
Tailwind
colors: {
custom: {
50: '#bd84e8',
500: '#9b4edd',
950: '#000000',
},
}SCSS
$custom: #9b4edd; $custom-light: #bd84e8; $custom-dark: #000000;
JSON
{
"hex": "#9b4edd",
"rgb": {
"r": 155,
"g": 78,
"b": 221
},
"hsl": {
"h": 272.308,
"s": 67.773,
"l": 58.627
},
"oklch": {
"l": 0.58579,
"c": 0.21129,
"h": 305.5
},
"luminance": 0.17638
}Semantic roles & 50–950 ramp
primary
#9B4EDD
secondary
#C1E0A7
accent
#EB3D8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84