#9830AB#9830AB
#9830AB is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.200 H 321.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9830AB |
|---|---|
| RGB | rgb(152, 48, 171) |
| HSL | hsl(291, 56%, 43%) |
| HSV | hsv(291, 72%, 67%) |
| CMYK | cmyk(11.1%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(40.78, 59.21, -44.93) |
| CIE-LCH | lch(40.78, 74.32, 322.81°) |
| OKLab | oklab(51.54% 0.1552 -0.1257) |
| OKLCH | oklch(51.54% 0.2 321) |
| XYZ | xyz(21.3557, 11.7307, 39.6596) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.90
Barney
#AC1DB8
ΔE00 3.55
Medium Purple
#9E43A2
ΔE00 4.75
Warm Purple
#952E8F
ΔE00 5.08
Barney Purple
#A00498
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9830AB #43AB30
analogous
#5B30AB #9830AB #AB3080
triadic
#9830AB #AB9830 #30AB98
tetradic
#9830AB #AB5B30 #43AB30 #3080AB
square
#9830AB #AB5B30 #43AB30 #3080AB
split-complementary
#9830AB #80AB30 #30AB5B
monochromatic
#43154B #6E237B #9830AB #B94CCD #CB7BDA
Accessibility & contrast
On white
6.28
#9830AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9830AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9830AB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9830AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9830AB | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#99476B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9830ab; /* rgb */ color: rgb(152, 48, 171); /* oklch */ color: oklch(51.5% 0.200 321.0);
Tailwind
colors: {
custom: {
50: '#ba72c5',
500: '#9830ab',
950: '#000000',
},
}SCSS
$custom: #9830ab; $custom-light: #ba72c5; $custom-dark: #000000;
JSON
{
"hex": "#9830ab",
"rgb": {
"r": 152,
"g": 48,
"b": 171
},
"hsl": {
"h": 290.732,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51545,
"c": 0.19974,
"h": 321
},
"luminance": 0.1173
}Semantic roles & 50–950 ramp
primary
#9830AB
secondary
#80C374
accent
#DF4860
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82