#9630AB#9630AB
#9630AB is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.199 H 320.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9630AB |
|---|---|
| RGB | rgb(150, 48, 171) |
| HSL | hsl(290, 56%, 43%) |
| HSV | hsv(290, 72%, 67%) |
| CMYK | cmyk(12.3%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(40.47, 58.77, -45.44) |
| CIE-LCH | lch(40.47, 74.29, 322.29°) |
| OKLab | oklab(51.26% 0.1528 -0.1273) |
| OKLCH | oklch(51.26% 0.199 320.2) |
| XYZ | xyz(20.9844, 11.5393, 39.6422) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Barney
#AC1DB8
ΔE00 3.85
Medium Purple
#9E43A2
ΔE00 5.04
Warm Purple
#952E8F
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.23
Barney Purple
#A00498
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9630AB #45AB30
analogous
#5830AB #9630AB #AB3082
triadic
#9630AB #AB9630 #30AB96
tetradic
#9630AB #AB5830 #45AB30 #3082AB
square
#9630AB #AB5830 #45AB30 #3082AB
split-complementary
#9630AB #82AB30 #30AB58
monochromatic
#42154B #6C237B #9630AB #B74CCD #CA7BDA
Accessibility & contrast
On white
6.35
#9630AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#9630AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9630AB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9630AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9630AB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#97476B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9630ab; /* rgb */ color: rgb(150, 48, 171); /* oklch */ color: oklch(51.3% 0.199 320.2);
Tailwind
colors: {
custom: {
50: '#b872c5',
500: '#9630ab',
950: '#000000',
},
}SCSS
$custom: #9630ab; $custom-light: #b872c5; $custom-dark: #000000;
JSON
{
"hex": "#9630ab",
"rgb": {
"r": 150,
"g": 48,
"b": 171
},
"hsl": {
"h": 289.756,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51261,
"c": 0.19888,
"h": 320.2
},
"luminance": 0.11538
}Semantic roles & 50–950 ramp
primary
#9630AB
secondary
#82C374
accent
#DF4862
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82