#9F4FD2#9F4FD2
#9F4FD2 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.4% C 0.199 H 309.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FD2 |
|---|---|
| RGB | rgb(159, 79, 210) |
| HSL | hsl(277, 59%, 57%) |
| HSV | hsv(277, 62%, 82%) |
| CMYK | cmyk(24.3%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(49.03, 55.25, -54.41) |
| CIE-LCH | lch(49.03, 77.54, 315.44°) |
| OKLab | oklab(58.44% 0.1275 -0.1534) |
| OKLCH | oklch(58.44% 0.199 309.7) |
| XYZ | xyz(28.7247, 17.6166, 62.8474) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.28
Amethyst
#9B5FC0
ΔE00 4.82
Purpley
#8756E4
ΔE00 5.79
Mediumorchid
#BA55D3
ΔE00 5.93
Lighter Purple
#A55AF4
ΔE00 6.00
Darkorchid
#9932CC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FD2 #82D24F
analogous
#5E4FD2 #9F4FD2 #D24FC4
triadic
#9F4FD2 #D29F4F #4FD29F
tetradic
#9F4FD2 #D25E4F #82D24F #4FC4D2
square
#9F4FD2 #D25E4F #82D24F #4FC4D2
split-complementary
#9F4FD2 #C4D24F #4FD25E
monochromatic
#5E2285 #812EB5 #9F4FD2 #BA80DE #D4B0EB
Accessibility & contrast
On white
4.64
#9F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9F4FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4FD2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4FD2 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A71D6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#986989
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9f4fd2; /* rgb */ color: rgb(159, 79, 210); /* oklch */ color: oklch(58.4% 0.199 309.7);
Tailwind
colors: {
custom: {
50: '#bf85e0',
500: '#9f4fd2',
950: '#000000',
},
}SCSS
$custom: #9f4fd2; $custom-light: #bf85e0; $custom-dark: #000000;
JSON
{
"hex": "#9f4fd2",
"rgb": {
"r": 159,
"g": 79,
"b": 210
},
"hsl": {
"h": 276.641,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.58444,
"c": 0.19947,
"h": 309.7
},
"luminance": 0.17616
}Semantic roles & 50–950 ramp
primary
#9F4FD2
secondary
#B8D9A4
accent
#E24583
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83