#9A38C3#9A38C3
#9A38C3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.213 H 313.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9A38C3 |
|---|---|
| RGB | rgb(154, 56, 195) |
| HSL | hsl(282, 55%, 49%) |
| HSV | hsv(282, 71%, 76%) |
| CMYK | cmyk(21%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(43.71, 61.22, -54.33) |
| CIE-LCH | lch(43.71, 81.85, 318.41°) |
| OKLab | oklab(54.18% 0.1475 -0.1532) |
| OKLCH | oklch(54.18% 0.213 313.9) |
| XYZ | xyz(24.5892, 13.6393, 52.9565) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.65
Purply
#983FB2
ΔE00 2.94
Barney
#AC1DB8
ΔE00 4.51
Vibrant Purple
#AD03DE
ΔE00 4.76
Darkviolet
#9400D3
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A38C3 #61C338
analogous
#5538C3 #9A38C3 #C338A7
triadic
#9A38C3 #C39A38 #38C39A
tetradic
#9A38C3 #C35538 #61C338 #38A7C3
square
#9A38C3 #C35538 #61C338 #38A7C3
split-complementary
#9A38C3 #A7C338 #38C355
monochromatic
#4F1D64 #742A93 #9A38C3 #B365D3 #CA95E1
Accessibility & contrast
On white
5.63
#9A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#9A38C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A38C3
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A38C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A38C3 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#2F6AC0
Tritanopia (blue-blind)
#96567A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9a38c3; /* rgb */ color: rgb(154, 56, 195); /* oklch */ color: oklch(54.2% 0.213 313.9);
Tailwind
colors: {
custom: {
50: '#bc77d6',
500: '#9a38c3',
950: '#000000',
},
}SCSS
$custom: #9a38c3; $custom-light: #bc77d6; $custom-dark: #000000;
JSON
{
"hex": "#9a38c3",
"rgb": {
"r": 154,
"g": 56,
"b": 195
},
"hsl": {
"h": 282.302,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.54181,
"c": 0.21273,
"h": 313.9
},
"luminance": 0.13639
}Semantic roles & 50–950 ramp
primary
#9A38C3
secondary
#9ECC8B
accent
#DF4975
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83