#9F46DE#9F46DE
#9F46DE is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.223 H 307.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46DE |
|---|---|
| RGB | rgb(159, 70, 222) |
| HSL | hsl(275, 70%, 57%) |
| HSV | hsv(275, 68%, 87%) |
| CMYK | cmyk(28.4%, 68.5%, 0%, 12.9%) |
| CIE-LAB | lab(48.29, 62.06, -62.43) |
| CIE-LCH | lch(48.29, 88.03, 314.83°) |
| OKLab | oklab(58.16% 0.1365 -0.1769) |
| OKLCH | oklch(58.16% 0.223 307.6) |
| XYZ | xyz(29.6703, 17.0256, 70.8163) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.34
Electric Purple
#AA23FF
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.29
Bright Violet
#AD0AFD
ΔE00 5.57
Neon Purple
#BC13FE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46DE #85DE46
analogous
#5346DE #9F46DE #DE46D1
triadic
#9F46DE #DE9F46 #46DE9F
tetradic
#9F46DE #DE5346 #85DE46 #46D1DE
square
#9F46DE #DE5346 #85DE46 #46D1DE
split-complementary
#9F46DE #D1DE46 #46DE53
monochromatic
#5F1A90 #8123C4 #9F46DE #BA7AE7 #D5AEF1
Accessibility & contrast
On white
4.77
#9F46DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9F46DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46DE
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46DE | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1F73DB
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f46de; /* rgb */ color: rgb(159, 70, 222); /* oklch */ color: oklch(58.2% 0.223 307.6);
Tailwind
colors: {
custom: {
50: '#c080e9',
500: '#9f46de',
950: '#000000',
},
}SCSS
$custom: #9f46de; $custom-light: #c080e9; $custom-dark: #000000;
JSON
{
"hex": "#9f46de",
"rgb": {
"r": 159,
"g": 70,
"b": 222
},
"hsl": {
"h": 275.132,
"s": 69.725,
"l": 57.255
},
"oklch": {
"l": 0.58162,
"c": 0.22349,
"h": 307.6
},
"luminance": 0.17025
}Semantic roles & 50–950 ramp
primary
#9F46DE
secondary
#BBDFA1
accent
#ED3B85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84