#9A34AF#9A34AF
#9A34AF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 320.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9A34AF |
|---|---|
| RGB | rgb(154, 52, 175) |
| HSL | hsl(290, 54%, 45%) |
| HSV | hsv(290, 70%, 69%) |
| CMYK | cmyk(12%, 70.3%, 0%, 31.4%) |
| CIE-LAB | lab(41.88, 58.86, -45.53) |
| CIE-LCH | lch(41.88, 74.42, 322.28°) |
| OKLab | oklab(52.47% 0.1533 -0.1274) |
| OKLCH | oklch(52.47% 0.199 320.3) |
| XYZ | xyz(22.2913, 12.4223, 41.7727) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.99
Barney
#AC1DB8
ΔE00 3.28
Medium Purple
#9E43A2
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 4.70
Ugly Purple
#A442A0
ΔE00 5.39
Warm Purple
#952E8F
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A34AF #49AF34
analogous
#5D34AF #9A34AF #AF3487
triadic
#9A34AF #AF9A34 #34AF9A
tetradic
#9A34AF #AF5D34 #49AF34 #3487AF
square
#9A34AF #AF5D34 #49AF34 #3487AF
split-complementary
#9A34AF #87AF34 #34AF5D
monochromatic
#471851 #702680 #9A34AF #B854CC #CB83DA
Accessibility & contrast
On white
6.03
#9A34AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#9A34AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A34AF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A34AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A34AF | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4066AC
Tritanopia (blue-blind)
#9B4B6E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9a34af; /* rgb */ color: rgb(154, 52, 175); /* oklch */ color: oklch(52.5% 0.199 320.3);
Tailwind
colors: {
custom: {
50: '#bb75c7',
500: '#9a34af',
950: '#000000',
},
}SCSS
$custom: #9a34af; $custom-light: #bb75c7; $custom-dark: #000000;
JSON
{
"hex": "#9a34af",
"rgb": {
"r": 154,
"g": 52,
"b": 175
},
"hsl": {
"h": 289.756,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.52467,
"c": 0.19935,
"h": 320.3
},
"luminance": 0.12421
}Semantic roles & 50–950 ramp
primary
#9A34AF
secondary
#88C47B
accent
#DE4A63
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82