#9F4BBE#9F4BBE
#9F4BBE is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.185 H 315.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4BBE |
|---|---|
| RGB | rgb(159, 75, 190) |
| HSL | hsl(284, 47%, 52%) |
| HSV | hsv(284, 61%, 75%) |
| CMYK | cmyk(16.3%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(47.13, 52.89, -45.90) |
| CIE-LCH | lch(47.13, 70.03, 319.05°) |
| OKLab | oklab(56.69% 0.1325 -0.1285) |
| OKLCH | oklch(56.69% 0.185 315.9) |
| XYZ | xyz(26.1070, 16.1217, 50.4418) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 4.94
Medium Purple
#9E43A2
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 5.68
Ugly Purple
#A442A0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4BBE #6ABE4B
analogous
#664BBE #9F4BBE #BE4BA4
triadic
#9F4BBE #BE9F4B #4BBE9F
tetradic
#9F4BBE #BE664B #6ABE4B #4BA4BE
square
#9F4BBE #BE664B #6ABE4B #4BA4BE
split-complementary
#9F4BBE #A4BE4B #4BBE66
monochromatic
#572669 #7C3696 #9F4BBE #B778CE #CFA5DE
Accessibility & contrast
On white
4.97
#9F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9F4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4BBE
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4BBE | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#9D5F7D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9f4bbe; /* rgb */ color: rgb(159, 75, 190); /* oklch */ color: oklch(56.7% 0.185 315.9);
Tailwind
colors: {
custom: {
50: '#be82d2',
500: '#9f4bbe',
950: '#000000',
},
}SCSS
$custom: #9f4bbe; $custom-light: #be82d2; $custom-dark: #000000;
JSON
{
"hex": "#9f4bbe",
"rgb": {
"r": 159,
"g": 75,
"b": 190
},
"hsl": {
"h": 283.826,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.56689,
"c": 0.18461,
"h": 315.9
},
"luminance": 0.16121
}Semantic roles & 50–950 ramp
primary
#9F4BBE
secondary
#A7CC99
accent
#D75175
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82