#9F4BEC#9F4BEC
#9F4BEC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.232 H 304.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4BEC |
|---|---|
| RGB | rgb(159, 75, 236) |
| HSL | hsl(271, 81%, 61%) |
| HSV | hsv(271, 68%, 93%) |
| CMYK | cmyk(32.6%, 68.2%, 0%, 7.5%) |
| CIE-LAB | lab(50.05, 62.97, -67.51) |
| CIE-LCH | lch(50.05, 92.31, 313.01°) |
| OKLab | oklab(59.72% 0.1296 -0.1919) |
| OKLCH | oklch(59.72% 0.232 304) |
| XYZ | xyz(31.9510, 18.4593, 81.2204) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.18
Lighter Purple
#A55AF4
ΔE00 3.93
Purpley
#8756E4
ΔE00 4.41
Electric Purple
#AA23FF
ΔE00 4.73
Neon Purple
#BC13FE
ΔE00 5.68
Bright Violet
#AD0AFD
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4BEC #98EC4B
analogous
#4E4BEC #9F4BEC #EC4BE9
triadic
#9F4BEC #EC9F4B #4BEC9F
tetradic
#9F4BEC #EC4E4B #98EC4B #4BE9EC
square
#9F4BEC #EC4E4B #98EC4B #4BE9EC
split-complementary
#9F4BEC #E9EC4B #4BEC4E
monochromatic
#6212AB #8118E2 #9F4BEC #BD82F2 #DABAF8
Accessibility & contrast
On white
4.48
#9F4BEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#9F4BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4BEC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4BEC | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#907096
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f4bec; /* rgb */ color: rgb(159, 75, 236); /* oklch */ color: oklch(59.7% 0.232 304.0);
Tailwind
colors: {
custom: {
50: '#c183f3',
500: '#9f4bec',
950: '#000000',
},
}SCSS
$custom: #9f4bec; $custom-light: #c183f3; $custom-dark: #000000;
JSON
{
"hex": "#9f4bec",
"rgb": {
"r": 159,
"g": 75,
"b": 236
},
"hsl": {
"h": 271.304,
"s": 80.905,
"l": 60.98
},
"oklch": {
"l": 0.59718,
"c": 0.23157,
"h": 304
},
"luminance": 0.18459
}Semantic roles & 50–950 ramp
primary
#9F4BEC
secondary
#C8E8AB
accent
#DD086E
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85