#9246C8#9246C8
#9246C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.197 H 308.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9246C8 |
|---|---|
| RGB | rgb(146, 70, 200) |
| HSL | hsl(275, 54%, 53%) |
| HSV | hsv(275, 65%, 78%) |
| CMYK | cmyk(27%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(45.17, 54.41, -54.94) |
| CIE-LCH | lch(45.17, 77.33, 314.72°) |
| OKLab | oklab(55.1% 0.1217 -0.1554) |
| OKLCH | oklch(55.1% 0.197 308.1) |
| XYZ | xyz(24.4674, 14.6618, 56.1734) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.33
Purply
#983FB2
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 5.91
Purpley
#8756E4
ΔE00 6.37
Vibrant Purple
#AD03DE
ΔE00 6.51
Lightish Purple
#A552E6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9246C8 #7CC846
analogous
#5146C8 #9246C8 #C846BD
triadic
#9246C8 #C89246 #46C892
tetradic
#9246C8 #C85146 #7CC846 #46BDC8
square
#9246C8 #C85146 #7CC846 #46BDC8
split-complementary
#9246C8 #BDC846 #46C851
monochromatic
#512272 #7230A1 #9246C8 #AE75D6 #CAA4E4
Accessibility & contrast
On white
5.34
#9246C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#9246C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9246C8
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9246C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9246C8 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#8A6181
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9246c8; /* rgb */ color: rgb(146, 70, 200); /* oklch */ color: oklch(55.1% 0.197 308.1);
Tailwind
colors: {
custom: {
50: '#b67ed9',
500: '#9246c8',
950: '#000000',
},
}SCSS
$custom: #9246c8; $custom-light: #b67ed9; $custom-dark: #000000;
JSON
{
"hex": "#9246c8",
"rgb": {
"r": 146,
"g": 70,
"b": 200
},
"hsl": {
"h": 275.077,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.551,
"c": 0.19739,
"h": 308.1
},
"luminance": 0.14661
}Semantic roles & 50–950 ramp
primary
#9246C8
secondary
#B0D199
accent
#DE4A87
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83