#9B3FAC#9B3FAC
#9B3FAC is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.183 H 321.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3FAC |
|---|---|
| RGB | rgb(155, 63, 172) |
| HSL | hsl(291, 46%, 46%) |
| HSV | hsv(291, 63%, 67%) |
| CMYK | cmyk(9.9%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(43.51, 53.88, -41.14) |
| CIE-LCH | lch(43.51, 67.80, 322.64°) |
| OKLab | oklab(53.62% 0.1421 -0.1147) |
| OKLCH | oklch(53.62% 0.183 321.1) |
| XYZ | xyz(22.7406, 13.5033, 40.4303) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.43
Medium Purple
#9E43A2
ΔE00 2.55
Ugly Purple
#A442A0
ΔE00 3.75
Barney
#AC1DB8
ΔE00 4.43
Darkorchid
#9932CC
ΔE00 5.79
Warm Purple
#952E8F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3FAC #50AC3F
analogous
#643FAC #9B3FAC #AC3F86
triadic
#9B3FAC #AC9B3F #3FAC9B
tetradic
#9B3FAC #AC643F #50AC3F #3F86AC
square
#9B3FAC #AC643F #50AC3F #3F86AC
split-complementary
#9B3FAC #86AC3F #3FAC64
monochromatic
#4A1E52 #732F7F #9B3FAC #B663C6 #CB8FD6
Accessibility & contrast
On white
5.68
#9B3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#9B3FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3FAC
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3FAC | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#9C5170
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9b3fac; /* rgb */ color: rgb(155, 63, 172); /* oklch */ color: oklch(53.6% 0.183 321.1);
Tailwind
colors: {
custom: {
50: '#bb7ac5',
500: '#9b3fac',
950: '#000000',
},
}SCSS
$custom: #9b3fac; $custom-light: #bb7ac5; $custom-dark: #000000;
JSON
{
"hex": "#9b3fac",
"rgb": {
"r": 155,
"g": 63,
"b": 172
},
"hsl": {
"h": 290.642,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.53616,
"c": 0.18261,
"h": 321.1
},
"luminance": 0.13502
}Semantic roles & 50–950 ramp
primary
#9B3FAC
secondary
#8FC186
accent
#D65266
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82