#8247B8#8247B8
#8247B8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.174 H 305.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8247B8 |
|---|---|
| RGB | rgb(130, 71, 184) |
| HSL | hsl(271, 44%, 50%) |
| HSV | hsv(271, 61%, 72%) |
| CMYK | cmyk(29.3%, 61.4%, 0%, 27.8%) |
| CIE-LAB | lab(42.33, 46.52, -50.30) |
| CIE-LCH | lch(42.33, 68.51, 312.77°) |
| OKLab | oklab(52.28% 0.1003 -0.1423) |
| OKLCH | oklch(52.28% 0.174 305.2) |
| XYZ | xyz(20.1090, 12.7131, 46.7326) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Purply
#983FB2
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.29
Deep Lavender
#8D5EB7
ΔE00 6.89
Bluey Purple
#6241C7
ΔE00 6.89
Blueviolet
#8A2BE2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8247B8 #7DB847
analogous
#4947B8 #8247B8 #B847B6
triadic
#8247B8 #B88247 #47B882
tetradic
#8247B8 #B84947 #7DB847 #47B6B8
square
#8247B8 #B84947 #7DB847 #47B6B8
split-complementary
#8247B8 #B6B847 #47B849
monochromatic
#442560 #63368C #8247B8 #A073C9 #BE9FDA
Accessibility & contrast
On white
5.93
#8247B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8247B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8247B8
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8247B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8247B8 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0762BC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#795E79
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8247b8; /* rgb */ color: rgb(130, 71, 184); /* oklch */ color: oklch(52.3% 0.174 305.2);
Tailwind
colors: {
custom: {
50: '#aa7dce',
500: '#8247b8',
950: '#000000',
},
}SCSS
$custom: #8247b8; $custom-light: #aa7dce; $custom-dark: #000000;
JSON
{
"hex": "#8247b8",
"rgb": {
"r": 130,
"g": 71,
"b": 184
},
"hsl": {
"h": 271.327,
"s": 44.314,
"l": 50
},
"oklch": {
"l": 0.52282,
"c": 0.17409,
"h": 305.2
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#8247B8
secondary
#ACC794
accent
#D45491
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82