#9246EF#9246EF
#9246EF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.9% C 0.238 H 299.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9246EF |
|---|---|
| RGB | rgb(146, 70, 239) |
| HSL | hsl(267, 84%, 61%) |
| HSV | hsv(267, 71%, 94%) |
| CMYK | cmyk(38.9%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(47.91, 63.52, -72.74) |
| CIE-LCH | lch(47.91, 96.57, 311.13°) |
| OKLab | oklab(57.92% 0.1166 -0.2077) |
| OKLCH | oklch(57.92% 0.238 299.3) |
| XYZ | xyz(29.6203, 16.7229, 83.3119) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.60
Electric Purple
#AA23FF
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 4.88
Bright Violet
#AD0AFD
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 5.71
Vivid Purple
#9900FA
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9246EF #A3EF46
analogous
#464EEF #9246EF #E646EF
triadic
#9246EF #EF9246 #46EF92
tetradic
#9246EF #EF464E #A3EF46 #46EFE6
square
#9246EF #EF464E #A3EF46 #46EFE6
split-complementary
#9246EF #EFE646 #4EEF46
monochromatic
#550FAC #7114E4 #9246EF #B37EF4 #D4B7F9
Accessibility & contrast
On white
4.83
#9246EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9246EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9246EF
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9246EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9246EF | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#7C7096
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9246ef; /* rgb */ color: rgb(146, 70, 239); /* oklch */ color: oklch(57.9% 0.238 299.3);
Tailwind
colors: {
custom: {
50: '#b980f5',
500: '#9246ef',
950: '#000000',
},
}SCSS
$custom: #9246ef; $custom-light: #b980f5; $custom-dark: #000000;
JSON
{
"hex": "#9246ef",
"rgb": {
"r": 146,
"g": 70,
"b": 239
},
"hsl": {
"h": 266.982,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.57923,
"c": 0.23817,
"h": 299.3
},
"luminance": 0.16723
}Semantic roles & 50–950 ramp
primary
#9246EF
secondary
#CCE9A8
accent
#E1057E
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B17
muted
#817C85