#9A1F99#9A1F99
#9A1F99 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 328.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F99 |
|---|---|
| RGB | rgb(154, 31, 153) |
| HSL | hsl(300, 66%, 36%) |
| HSV | hsv(300, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 0.6%, 39.6%) |
| CIE-LAB | lab(38.11, 61.98, -38.36) |
| CIE-LCH | lch(38.11, 72.89, 328.25°) |
| OKLab | oklab(49.36% 0.1735 -0.1064) |
| OKLCH | oklch(49.36% 0.204 328.5) |
| XYZ | xyz(19.5660, 10.1514, 31.0597) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.66
Warm Purple
#952E8F
ΔE00 2.58
Darkmagenta
#8B008B
ΔE00 4.56
Barney
#AC1DB8
ΔE00 5.44
Purple (survey)
#7E1E9C
ΔE00 6.06
Medium Purple
#9E43A2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F99 #1F9A20
analogous
#5E1F9A #9A1F99 #9A1F5C
triadic
#9A1F99 #999A1F #1F999A
tetradic
#9A1F99 #9A5E1F #1F9A20 #1F5C9A
square
#9A1F99 #9A5E1F #1F9A20 #1F5C9A
split-complementary
#9A1F99 #5C9A1F #1F9A5E
monochromatic
#340A34 #671566 #9A1F99 #CD29CC #DD56DC
Accessibility & contrast
On white
6.93
#9A1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#9A1F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A1F99
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F99 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#9F345C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9a1f99; /* rgb */ color: rgb(154, 31, 153); /* oklch */ color: oklch(49.4% 0.204 328.5);
Tailwind
colors: {
custom: {
50: '#bc6bb7',
500: '#9a1f99',
950: '#000000',
},
}SCSS
$custom: #9a1f99; $custom-light: #bc6bb7; $custom-dark: #000000;
JSON
{
"hex": "#9a1f99",
"rgb": {
"r": 154,
"g": 31,
"b": 153
},
"hsl": {
"h": 300.488,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.49358,
"c": 0.20354,
"h": 328.5
},
"luminance": 0.1015
}Semantic roles & 50–950 ramp
primary
#9A1F99
secondary
#54C155
accent
#E9403E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80