#9946EF#9946EF
#9946EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.239 H 301.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9946EF |
|---|---|
| RGB | rgb(153, 70, 239) |
| HSL | hsl(269, 84%, 61%) |
| HSV | hsv(269, 71%, 94%) |
| CMYK | cmyk(36%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(48.74, 64.76, -71.35) |
| CIE-LCH | lch(48.74, 96.36, 312.23°) |
| OKLab | oklab(58.7% 0.1261 -0.2034) |
| OKLCH | oklch(58.7% 0.239 301.8) |
| XYZ | xyz(30.9033, 17.3845, 83.3721) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.83
Electric Purple
#AA23FF
ΔE00 4.05
Purpley
#8756E4
ΔE00 4.08
Bright Violet
#AD0AFD
ΔE00 5.13
Lighter Purple
#A55AF4
ΔE00 5.32
Neon Purple
#BC13FE
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9946EF #9CEF46
analogous
#4647EF #9946EF #ED46EF
triadic
#9946EF #EF9946 #46EF99
tetradic
#9946EF #EF4647 #9CEF46 #46EFED
square
#9946EF #EF4647 #9CEF46 #46EFED
split-complementary
#9946EF #EFED46 #47EF46
monochromatic
#5C0FAC #7A14E4 #9946EF #B87EF4 #D7B7F9
Accessibility & contrast
On white
4.69
#9946EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#9946EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9946EF
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9946EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9946EF | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#876F96
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9946ef; /* rgb */ color: rgb(153, 70, 239); /* oklch */ color: oklch(58.7% 0.239 301.8);
Tailwind
colors: {
custom: {
50: '#bd80f5',
500: '#9946ef',
950: '#000000',
},
}SCSS
$custom: #9946ef; $custom-light: #bd80f5; $custom-dark: #000000;
JSON
{
"hex": "#9946ef",
"rgb": {
"r": 153,
"g": 70,
"b": 239
},
"hsl": {
"h": 269.467,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.58696,
"c": 0.23926,
"h": 301.8
},
"luminance": 0.17385
}Semantic roles & 50–950 ramp
primary
#9946EF
secondary
#C9E9A8
accent
#E10575
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85