#9A289C#9A289C
#9A289C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.197 H 327.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9A289C |
|---|---|
| RGB | rgb(154, 40, 156) |
| HSL | hsl(299, 59%, 38%) |
| HSV | hsv(299, 74%, 61%) |
| CMYK | cmyk(1.3%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(39.22, 59.79, -38.41) |
| CIE-LCH | lch(39.22, 71.06, 327.28°) |
| OKLab | oklab(50.21% 0.1659 -0.1066) |
| OKLCH | oklch(50.21% 0.197 327.3) |
| XYZ | xyz(20.0857, 10.7893, 32.4707) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.47
Barney Purple
#A00498
ΔE00 2.69
Barney
#AC1DB8
ΔE00 4.84
Medium Purple
#9E43A2
ΔE00 5.04
Purply
#983FB2
ΔE00 5.39
Ugly Purple
#A442A0
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A289C #2A9C28
analogous
#60289C #9A289C #9C2864
triadic
#9A289C #9C9A28 #289C9A
tetradic
#9A289C #9C6028 #2A9C28 #28649C
square
#9A289C #9C6028 #2A9C28 #28649C
split-complementary
#9A289C #649C28 #289C60
monochromatic
#3A0F3B #6A1C6B #9A289C #C936CB #D667D8
Accessibility & contrast
On white
6.65
#9A289C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9A289C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A289C
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A289C | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B539F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#9F3B60
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9a289c; /* rgb */ color: rgb(154, 40, 156); /* oklch */ color: oklch(50.2% 0.197 327.3);
Tailwind
colors: {
custom: {
50: '#bb6eba',
500: '#9a289c',
950: '#000000',
},
}SCSS
$custom: #9a289c; $custom-light: #bb6eba; $custom-dark: #000000;
JSON
{
"hex": "#9a289c",
"rgb": {
"r": 154,
"g": 40,
"b": 156
},
"hsl": {
"h": 298.966,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.50205,
"c": 0.19713,
"h": 327.3
},
"luminance": 0.10788
}Semantic roles & 50–950 ramp
primary
#9A289C
secondary
#63BE62
accent
#E24548
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80