#9F46DF#9F46DF
#9F46DF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.224 H 307.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46DF |
|---|---|
| RGB | rgb(159, 70, 223) |
| HSL | hsl(275, 71%, 57%) |
| HSV | hsv(275, 69%, 87%) |
| CMYK | cmyk(28.7%, 68.6%, 0%, 12.5%) |
| CIE-LAB | lab(48.36, 62.28, -62.89) |
| CIE-LCH | lch(48.36, 88.51, 314.72°) |
| OKLab | oklab(58.23% 0.1364 -0.1783) |
| OKLCH | oklch(58.23% 0.224 307.4) |
| XYZ | xyz(29.8047, 17.0793, 71.5242) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.27
Electric Purple
#AA23FF
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 5.12
Purpley
#8756E4
ΔE00 5.23
Bright Violet
#AD0AFD
ΔE00 5.51
Neon Purple
#BC13FE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46DF #86DF46
analogous
#5346DF #9F46DF #DF46D2
triadic
#9F46DF #DF9F46 #46DF9F
tetradic
#9F46DF #DF5346 #86DF46 #46D2DF
square
#9F46DF #DF5346 #86DF46 #46D2DF
split-complementary
#9F46DF #D2DF46 #46DF53
monochromatic
#5F1991 #8122C6 #9F46DF #BA7AE8 #D5AEF1
Accessibility & contrast
On white
4.76
#9F46DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9F46DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46DF
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46DF | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E4
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#95688D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9f46df; /* rgb */ color: rgb(159, 70, 223); /* oklch */ color: oklch(58.2% 0.224 307.4);
Tailwind
colors: {
custom: {
50: '#c080ea',
500: '#9f46df',
950: '#000000',
},
}SCSS
$custom: #9f46df; $custom-light: #c080ea; $custom-dark: #000000;
JSON
{
"hex": "#9f46df",
"rgb": {
"r": 159,
"g": 70,
"b": 223
},
"hsl": {
"h": 274.902,
"s": 70.507,
"l": 57.451
},
"oklch": {
"l": 0.58231,
"c": 0.22448,
"h": 307.4
},
"luminance": 0.17079
}Semantic roles & 50–950 ramp
primary
#9F46DF
secondary
#BBDFA2
accent
#ED3B85
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84