#9F3FBB#9F3FBB
#9F3FBB is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.198 H 317.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3FBB |
|---|---|
| RGB | rgb(159, 63, 187) |
| HSL | hsl(286, 50%, 49%) |
| HSV | hsv(286, 66%, 73%) |
| CMYK | cmyk(15%, 66.3%, 0%, 26.7%) |
| CIE-LAB | lab(44.96, 57.78, -47.62) |
| CIE-LCH | lch(44.96, 74.87, 320.51°) |
| OKLab | oklab(55.06% 0.1469 -0.1335) |
| OKLCH | oklch(55.06% 0.198 317.7) |
| XYZ | xyz(25.0440, 14.5148, 48.4865) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.77
Darkorchid
#9932CC
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.24
Medium Purple
#9E43A2
ΔE00 4.67
Ugly Purple
#A442A0
ΔE00 5.59
Vibrant Purple
#AD03DE
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3FBB #5BBB3F
analogous
#613FBB #9F3FBB #BB3F99
triadic
#9F3FBB #BB9F3F #3FBB9F
tetradic
#9F3FBB #BB613F #5BBB3F #3F99BB
square
#9F3FBB #BB613F #5BBB3F #3F99BB
split-complementary
#9F3FBB #99BB3F #3FBB61
monochromatic
#51205F #78308D #9F3FBB #B76ACD #CD98DC
Accessibility & contrast
On white
5.38
#9F3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9F3FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3FBB
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3FBB | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#9E5678
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9f3fbb; /* rgb */ color: rgb(159, 63, 187); /* oklch */ color: oklch(55.1% 0.198 317.7);
Tailwind
colors: {
custom: {
50: '#bf7bd0',
500: '#9f3fbb',
950: '#000000',
},
}SCSS
$custom: #9f3fbb; $custom-light: #bf7bd0; $custom-dark: #000000;
JSON
{
"hex": "#9f3fbb",
"rgb": {
"r": 159,
"g": 63,
"b": 187
},
"hsl": {
"h": 286.452,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.55062,
"c": 0.19845,
"h": 317.7
},
"luminance": 0.14514
}Semantic roles & 50–950 ramp
primary
#9F3FBB
secondary
#9BC88E
accent
#D94F6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82