#9247C2#9247C2
#9247C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.8% C 0.190 H 309.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9247C2 |
|---|---|
| RGB | rgb(146, 71, 194) |
| HSL | hsl(277, 50%, 52%) |
| HSV | hsv(277, 63%, 76%) |
| CMYK | cmyk(24.7%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.96, 52.58, -51.80) |
| CIE-LCH | lch(44.96, 73.81, 315.43°) |
| OKLab | oklab(54.83% 0.1209 -0.1462) |
| OKLCH | oklch(54.83% 0.19 309.6) |
| XYZ | xyz(23.8430, 14.5130, 52.5737) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.59
Darkorchid
#9932CC
ΔE00 3.66
Deep Lavender
#8D5EB7
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.32
Blueviolet
#8A2BE2
ΔE00 6.66
Amethyst
#9B5FC0
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9247C2 #77C247
analogous
#5547C2 #9247C2 #C247B5
triadic
#9247C2 #C29247 #47C292
tetradic
#9247C2 #C25547 #77C247 #47B5C2
square
#9247C2 #C25547 #77C247 #47B5C2
split-complementary
#9247C2 #B5C247 #47C255
monochromatic
#4F246B #713399 #9247C2 #AD75D1 #C8A3E0
Accessibility & contrast
On white
5.38
#9247C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9247C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9247C2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9247C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9247C2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#366BBF
Tritanopia (blue-blind)
#8B607E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9247c2; /* rgb */ color: rgb(146, 71, 194); /* oklch */ color: oklch(54.8% 0.190 309.6);
Tailwind
colors: {
custom: {
50: '#b67fd5',
500: '#9247c2',
950: '#000000',
},
}SCSS
$custom: #9247c2; $custom-light: #b67fd5; $custom-dark: #000000;
JSON
{
"hex": "#9247c2",
"rgb": {
"r": 146,
"g": 71,
"b": 194
},
"hsl": {
"h": 276.585,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.54828,
"c": 0.1897,
"h": 309.6
},
"luminance": 0.14513
}Semantic roles & 50–950 ramp
primary
#9247C2
secondary
#ACCD97
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83