#9F46EF#9F46EF
#9F46EF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.240 H 303.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46EF |
|---|---|
| RGB | rgb(159, 70, 239) |
| HSL | hsl(272, 84%, 61%) |
| HSV | hsv(272, 71%, 94%) |
| CMYK | cmyk(33.5%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(49.48, 65.85, -70.12) |
| CIE-LCH | lch(49.48, 96.19, 313.20°) |
| OKLab | oklab(59.38% 0.1341 -0.1995) |
| OKLCH | oklch(59.38% 0.24 303.9) |
| XYZ | xyz(32.0646, 17.9833, 83.4265) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.02
Electric Purple
#AA23FF
ΔE00 3.87
Lighter Purple
#A55AF4
ΔE00 4.68
Purpley
#8756E4
ΔE00 4.72
Bright Violet
#AD0AFD
ΔE00 5.01
Neon Purple
#BC13FE
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46EF #96EF46
analogous
#4A46EF #9F46EF #EF46EA
triadic
#9F46EF #EF9F46 #46EF9F
tetradic
#9F46EF #EF4A46 #96EF46 #46EAEF
square
#9F46EF #EF4A46 #96EF46 #46EAEF
split-complementary
#9F46EF #EAEF46 #46EF4A
monochromatic
#610FAC #8114E4 #9F46EF #BC7EF4 #D9B7F9
Accessibility & contrast
On white
4.57
#9F46EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#9F46EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F46EF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F46EF | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#8F6E96
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9f46ef; /* rgb */ color: rgb(159, 70, 239); /* oklch */ color: oklch(59.4% 0.240 303.9);
Tailwind
colors: {
custom: {
50: '#c181f5',
500: '#9f46ef',
950: '#000000',
},
}SCSS
$custom: #9f46ef; $custom-light: #c181f5; $custom-dark: #000000;
JSON
{
"hex": "#9f46ef",
"rgb": {
"r": 159,
"g": 70,
"b": 239
},
"hsl": {
"h": 271.598,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.59377,
"c": 0.24039,
"h": 303.9
},
"luminance": 0.17983
}Semantic roles & 50–950 ramp
primary
#9F46EF
secondary
#C7E9A8
accent
#E1056D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85