#9B4FC2#9B4FC2
#9B4FC2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.181 H 312.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4FC2 |
|---|---|
| RGB | rgb(155, 79, 194) |
| HSL | hsl(280, 49%, 54%) |
| HSV | hsv(280, 59%, 76%) |
| CMYK | cmyk(20.1%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(47.57, 50.78, -47.56) |
| CIE-LCH | lch(47.57, 69.58, 316.88°) |
| OKLab | oklab(56.97% 0.1226 -0.1335) |
| OKLCH | oklch(56.97% 0.181 312.6) |
| XYZ | xyz(26.0494, 16.4562, 52.8326) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.16
Purply
#983FB2
ΔE00 4.52
Deep Lavender
#8D5EB7
ΔE00 4.77
Darkorchid
#9932CC
ΔE00 5.78
Lightish Purple
#A552E6
ΔE00 5.79
Medium Purple
#9E43A2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4FC2 #76C24F
analogous
#614FC2 #9B4FC2 #C24FAF
triadic
#9B4FC2 #C29B4F #4FC29B
tetradic
#9B4FC2 #C2614F #76C24F #4FAFC2
square
#9B4FC2 #C2614F #76C24F #4FAFC2
split-complementary
#9B4FC2 #AFC24F #4FC261
monochromatic
#572770 #7A379D #9B4FC2 #B57CD2 #CFAAE2
Accessibility & contrast
On white
4.89
#9B4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9B4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4FC2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4FC2 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#4873BF
Tritanopia (blue-blind)
#976481
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9b4fc2; /* rgb */ color: rgb(155, 79, 194); /* oklch */ color: oklch(57.0% 0.181 312.6);
Tailwind
colors: {
custom: {
50: '#bb84d5',
500: '#9b4fc2',
950: '#000000',
},
}SCSS
$custom: #9b4fc2; $custom-light: #bb84d5; $custom-dark: #000000;
JSON
{
"hex": "#9b4fc2",
"rgb": {
"r": 155,
"g": 79,
"b": 194
},
"hsl": {
"h": 279.652,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.56968,
"c": 0.18124,
"h": 312.6
},
"luminance": 0.16456
}Semantic roles & 50–950 ramp
primary
#9B4FC2
secondary
#AECF9E
accent
#D8507E
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B14
muted
#817C83