#9A3FAC#9A3FAC
#9A3FAC is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.182 H 320.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3FAC |
|---|---|
| RGB | rgb(154, 63, 172) |
| HSL | hsl(290, 46%, 46%) |
| HSV | hsv(290, 63%, 67%) |
| CMYK | cmyk(10.5%, 63.4%, 0%, 32.5%) |
| CIE-LAB | lab(43.37, 53.64, -41.38) |
| CIE-LCH | lch(43.37, 67.75, 322.35°) |
| OKLab | oklab(53.48% 0.1409 -0.1154) |
| OKLCH | oklch(53.48% 0.182 320.7) |
| XYZ | xyz(22.5495, 13.4047, 40.4213) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.29
Medium Purple
#9E43A2
ΔE00 2.69
Ugly Purple
#A442A0
ΔE00 3.93
Barney
#AC1DB8
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 5.70
Warm Purple
#952E8F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3FAC #51AC3F
analogous
#633FAC #9A3FAC #AC3F87
triadic
#9A3FAC #AC9A3F #3FAC9A
tetradic
#9A3FAC #AC633F #51AC3F #3F87AC
square
#9A3FAC #AC633F #51AC3F #3F87AC
split-complementary
#9A3FAC #87AC3F #3FAC63
monochromatic
#4A1E52 #722F7F #9A3FAC #B563C6 #CA8FD6
Accessibility & contrast
On white
5.71
#9A3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9A3FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3FAC
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3FAC | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#496AA9
Tritanopia (blue-blind)
#9B5170
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9a3fac; /* rgb */ color: rgb(154, 63, 172); /* oklch */ color: oklch(53.5% 0.182 320.7);
Tailwind
colors: {
custom: {
50: '#bb7ac5',
500: '#9a3fac',
950: '#000000',
},
}SCSS
$custom: #9a3fac; $custom-light: #bb7ac5; $custom-dark: #000000;
JSON
{
"hex": "#9a3fac",
"rgb": {
"r": 154,
"g": 63,
"b": 172
},
"hsl": {
"h": 290.092,
"s": 46.383,
"l": 46.078
},
"oklch": {
"l": 0.53481,
"c": 0.18214,
"h": 320.7
},
"luminance": 0.13404
}Semantic roles & 50–950 ramp
primary
#9A3FAC
secondary
#8FC186
accent
#D65268
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82