#9530AB#9530AB
#9530AB is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 319.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9530AB |
|---|---|
| RGB | rgb(149, 48, 171) |
| HSL | hsl(289, 56%, 43%) |
| HSV | hsv(289, 72%, 67%) |
| CMYK | cmyk(12.9%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(40.32, 58.56, -45.70) |
| CIE-LCH | lch(40.32, 74.28, 322.03°) |
| OKLab | oklab(51.12% 0.1516 -0.128) |
| OKLCH | oklch(51.12% 0.198 319.8) |
| XYZ | xyz(20.8011, 11.4448, 39.6336) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.08
Barney
#AC1DB8
ΔE00 4.01
Medium Purple
#9E43A2
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.20
Warm Purple
#952E8F
ΔE00 5.26
Barney Purple
#A00498
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9530AB #46AB30
analogous
#5730AB #9530AB #AB3083
triadic
#9530AB #AB9530 #30AB95
tetradic
#9530AB #AB5730 #46AB30 #3083AB
square
#9530AB #AB5730 #46AB30 #3083AB
split-complementary
#9530AB #83AB30 #30AB57
monochromatic
#42154B #6B237B #9530AB #B64CCD #C97BDA
Accessibility & contrast
On white
6.39
#9530AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9530AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9530AB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9530AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9530AB | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#95486B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9530ab; /* rgb */ color: rgb(149, 48, 171); /* oklch */ color: oklch(51.1% 0.198 319.8);
Tailwind
colors: {
custom: {
50: '#b872c5',
500: '#9530ab',
950: '#000000',
},
}SCSS
$custom: #9530ab; $custom-light: #b872c5; $custom-dark: #000000;
JSON
{
"hex": "#9530ab",
"rgb": {
"r": 149,
"g": 48,
"b": 171
},
"hsl": {
"h": 289.268,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.5112,
"c": 0.19847,
"h": 319.8
},
"luminance": 0.11444
}Semantic roles & 50–950 ramp
primary
#9530AB
secondary
#82C374
accent
#DF4863
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82