#9F4FDB#9F4FDB
#9F4FDB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.209 H 307.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FDB |
|---|---|
| RGB | rgb(159, 79, 219) |
| HSL | hsl(274, 66%, 58%) |
| HSV | hsv(274, 64%, 86%) |
| CMYK | cmyk(27.4%, 63.9%, 0%, 14.1%) |
| CIE-LAB | lab(49.59, 57.25, -58.63) |
| CIE-LCH | lch(49.59, 81.95, 314.32°) |
| OKLab | oklab(59.03% 0.127 -0.1658) |
| OKLCH | oklch(59.03% 0.209 307.5) |
| XYZ | xyz(29.8776, 18.0777, 68.9195) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.13
Lighter Purple
#A55AF4
ΔE00 4.84
Purpley
#8756E4
ΔE00 4.93
Amethyst
#9B5FC0
ΔE00 5.68
Mediumorchid
#BA55D3
ΔE00 6.27
Electric Purple
#AA23FF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FDB #8BDB4F
analogous
#594FDB #9F4FDB #DB4FD1
triadic
#9F4FDB #DB9F4F #4FDB9F
tetradic
#9F4FDB #DB594F #8BDB4F #4FD1DB
square
#9F4FDB #DB594F #8BDB4F #4FD1DB
split-complementary
#9F4FDB #D1DB4F #4FDB59
monochromatic
#601E92 #8228C5 #9F4FDB #BB82E5 #D6B5F0
Accessibility & contrast
On white
4.55
#9F4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#9F4FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4FDB
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4FDB | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#956C8E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9f4fdb; /* rgb */ color: rgb(159, 79, 219); /* oklch */ color: oklch(59.0% 0.209 307.5);
Tailwind
colors: {
custom: {
50: '#c085e7',
500: '#9f4fdb',
950: '#000000',
},
}SCSS
$custom: #9f4fdb; $custom-light: #c085e7; $custom-dark: #000000;
JSON
{
"hex": "#9f4fdb",
"rgb": {
"r": 159,
"g": 79,
"b": 219
},
"hsl": {
"h": 274.286,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.59031,
"c": 0.2089,
"h": 307.5
},
"luminance": 0.18077
}Semantic roles & 50–950 ramp
primary
#9F4FDB
secondary
#BFDFA7
accent
#E93F88
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84