#9D3FBB#9D3FBB
#9D3FBB is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.198 H 317.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3FBB |
|---|---|
| RGB | rgb(157, 63, 187) |
| HSL | hsl(285, 50%, 49%) |
| HSV | hsv(285, 66%, 73%) |
| CMYK | cmyk(16%, 66.3%, 0%, 26.7%) |
| CIE-LAB | lab(44.68, 57.32, -48.09) |
| CIE-LCH | lch(44.68, 74.82, 320.00°) |
| OKLab | oklab(54.8% 0.1444 -0.1349) |
| OKLCH | oklch(54.8% 0.198 317) |
| XYZ | xyz(24.6505, 14.3119, 48.4681) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.58
Darkorchid
#9932CC
ΔE00 3.71
Barney
#AC1DB8
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 4.83
Ugly Purple
#A442A0
ΔE00 5.82
Vibrant Purple
#AD03DE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3FBB #5DBB3F
analogous
#5F3FBB #9D3FBB #BB3F9B
triadic
#9D3FBB #BB9D3F #3FBB9D
tetradic
#9D3FBB #BB5F3F #5DBB3F #3F9BBB
square
#9D3FBB #BB5F3F #5DBB3F #3F9BBB
split-complementary
#9D3FBB #9BBB3F #3FBB5F
monochromatic
#50205F #77308D #9D3FBB #B56ACD #CC98DC
Accessibility & contrast
On white
5.44
#9D3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#9D3FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3FBB
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3FBB | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#9C5678
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9d3fbb; /* rgb */ color: rgb(157, 63, 187); /* oklch */ color: oklch(54.8% 0.198 317.0);
Tailwind
colors: {
custom: {
50: '#bd7bd0',
500: '#9d3fbb',
950: '#000000',
},
}SCSS
$custom: #9d3fbb; $custom-light: #bd7bd0; $custom-dark: #000000;
JSON
{
"hex": "#9d3fbb",
"rgb": {
"r": 157,
"g": 63,
"b": 187
},
"hsl": {
"h": 285.484,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.54798,
"c": 0.19762,
"h": 317
},
"luminance": 0.14311
}Semantic roles & 50–950 ramp
primary
#9D3FBB
secondary
#9CC88E
accent
#D94F70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82