#9A2FC2#9A2FC2
#9A2FC2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.222 H 314.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FC2 |
|---|---|
| RGB | rgb(154, 47, 194) |
| HSL | hsl(284, 61%, 47%) |
| HSV | hsv(284, 76%, 76%) |
| CMYK | cmyk(20.6%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.46, 64.40, -55.77) |
| CIE-LCH | lch(42.46, 85.19, 319.11°) |
| OKLab | oklab(53.27% 0.1561 -0.1574) |
| OKLCH | oklch(53.27% 0.222 314.8) |
| XYZ | xyz(24.0789, 12.7990, 52.2305) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.67
Purply
#983FB2
ΔE00 3.53
Barney
#AC1DB8
ΔE00 3.98
Vibrant Purple
#AD03DE
ΔE00 4.40
Darkviolet
#9400D3
ΔE00 4.60
Violet (survey)
#9A0EEA
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FC2 #57C22F
analogous
#502FC2 #9A2FC2 #C22FA1
triadic
#9A2FC2 #C29A2F #2FC29A
tetradic
#9A2FC2 #C2502F #57C22F #2FA1C2
square
#9A2FC2 #C2502F #57C22F #2FA1C2
split-complementary
#9A2FC2 #A1C22F #2FC250
monochromatic
#4C175F #732391 #9A2FC2 #B458D6 #CA89E2
Accessibility & contrast
On white
5.90
#9A2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#9A2FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FC2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FC2 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#965077
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #9a2fc2; /* rgb */ color: rgb(154, 47, 194); /* oklch */ color: oklch(53.3% 0.222 314.8);
Tailwind
colors: {
custom: {
50: '#bc73d5',
500: '#9a2fc2',
950: '#000000',
},
}SCSS
$custom: #9a2fc2; $custom-light: #bc73d5; $custom-dark: #000000;
JSON
{
"hex": "#9a2fc2",
"rgb": {
"r": 154,
"g": 47,
"b": 194
},
"hsl": {
"h": 283.673,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.53271,
"c": 0.22171,
"h": 314.8
},
"luminance": 0.12798
}Semantic roles & 50–950 ramp
primary
#9A2FC2
secondary
#95CC81
accent
#E4446F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83