#9247C8#9247C8
#9247C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.196 H 308.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9247C8 |
|---|---|
| RGB | rgb(146, 71, 200) |
| HSL | hsl(275, 54%, 53%) |
| HSV | hsv(275, 65%, 78%) |
| CMYK | cmyk(27%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.34, 53.93, -54.66) |
| CIE-LCH | lch(45.34, 76.79, 314.62°) |
| OKLab | oklab(55.23% 0.1206 -0.1546) |
| OKLCH | oklch(55.23% 0.196 308) |
| XYZ | xyz(24.5305, 14.7879, 56.1945) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.53
Purply
#983FB2
ΔE00 4.45
Blueviolet
#8A2BE2
ΔE00 6.06
Purpley
#8756E4
ΔE00 6.25
Lightish Purple
#A552E6
ΔE00 6.48
Deep Lavender
#8D5EB7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9247C8 #7DC847
analogous
#5147C8 #9247C8 #C847BD
triadic
#9247C8 #C89247 #47C892
tetradic
#9247C8 #C85147 #7DC847 #47BDC8
square
#9247C8 #C85147 #7DC847 #47BDC8
split-complementary
#9247C8 #BDC847 #47C851
monochromatic
#512272 #7230A2 #9247C8 #AE76D6 #CAA5E4
Accessibility & contrast
On white
5.31
#9247C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9247C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9247C8
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9247C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9247C8 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#8A6281
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9247c8; /* rgb */ color: rgb(146, 71, 200); /* oklch */ color: oklch(55.2% 0.196 308.0);
Tailwind
colors: {
custom: {
50: '#b67fd9',
500: '#9247c8',
950: '#000000',
},
}SCSS
$custom: #9247c8; $custom-light: #b67fd9; $custom-dark: #000000;
JSON
{
"hex": "#9247c8",
"rgb": {
"r": 146,
"g": 71,
"b": 200
},
"hsl": {
"h": 274.884,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.55226,
"c": 0.19604,
"h": 308
},
"luminance": 0.14788
}Semantic roles & 50–950 ramp
primary
#9247C8
secondary
#B1D19A
accent
#DD4A88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83