#9A2FC3#9A2FC3
#9A2FC3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.223 H 314.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FC3 |
|---|---|
| RGB | rgb(154, 47, 195) |
| HSL | hsl(283, 61%, 47%) |
| HSV | hsv(283, 76%, 76%) |
| CMYK | cmyk(21%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(42.53, 64.60, -56.24) |
| CIE-LCH | lch(42.53, 85.65, 318.95°) |
| OKLab | oklab(53.34% 0.156 -0.1588) |
| OKLCH | oklch(53.34% 0.223 314.5) |
| XYZ | xyz(24.1916, 12.8440, 52.8240) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.52
Purply
#983FB2
ΔE00 3.63
Barney
#AC1DB8
ΔE00 4.08
Vibrant Purple
#AD03DE
ΔE00 4.30
Darkviolet
#9400D3
ΔE00 4.54
Violet (survey)
#9A0EEA
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FC3 #58C32F
analogous
#502FC3 #9A2FC3 #C32FA2
triadic
#9A2FC3 #C39A2F #2FC39A
tetradic
#9A2FC3 #C3502F #58C32F #2FA2C3
square
#9A2FC3 #C3502F #58C32F #2FA2C3
split-complementary
#9A2FC3 #A2C32F #2FC350
monochromatic
#4C1760 #732392 #9A2FC3 #B458D7 #CA8AE3
Accessibility & contrast
On white
5.88
#9A2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#9A2FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FC3
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FC3 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#965178
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9a2fc3; /* rgb */ color: rgb(154, 47, 195); /* oklch */ color: oklch(53.3% 0.223 314.5);
Tailwind
colors: {
custom: {
50: '#bc73d6',
500: '#9a2fc3',
950: '#000000',
},
}SCSS
$custom: #9a2fc3; $custom-light: #bc73d6; $custom-dark: #000000;
JSON
{
"hex": "#9a2fc3",
"rgb": {
"r": 154,
"g": 47,
"b": 195
},
"hsl": {
"h": 283.378,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.53341,
"c": 0.22259,
"h": 314.5
},
"luminance": 0.12843
}Semantic roles & 50–950 ramp
primary
#9A2FC3
secondary
#96CD81
accent
#E44470
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83