#8D2FC5#8D2FC5
#8D2FC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.220 H 309.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2FC5 |
|---|---|
| RGB | rgb(141, 47, 197) |
| HSL | hsl(278, 61%, 48%) |
| HSV | hsv(278, 76%, 77%) |
| CMYK | cmyk(28.4%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(40.78, 62.61, -60.33) |
| CIE-LCH | lch(40.78, 86.95, 316.06°) |
| OKLab | oklab(51.77% 0.1388 -0.1712) |
| OKLCH | oklch(51.77% 0.22 309) |
| XYZ | xyz(22.0770, 11.7274, 53.9131) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.53
Darkviolet
#9400D3
ΔE00 3.42
Blueviolet
#8A2BE2
ΔE00 4.06
Violet (survey)
#9A0EEA
ΔE00 4.95
Purply
#983FB2
ΔE00 5.30
Vibrant Purple
#AD03DE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2FC5 #67C52F
analogous
#422FC5 #8D2FC5 #C52FB2
triadic
#8D2FC5 #C58D2F #2FC58D
tetradic
#8D2FC5 #C5422F #67C52F #2FB2C5
square
#8D2FC5 #C5422F #67C52F #2FB2C5
split-complementary
#8D2FC5 #B2C52F #2FC542
monochromatic
#461762 #6A2394 #8D2FC5 #A95AD8 #C28BE3
Accessibility & contrast
On white
6.28
#8D2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8D2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2FC5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2FC5 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#845479
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8d2fc5; /* rgb */ color: rgb(141, 47, 197); /* oklch */ color: oklch(51.8% 0.220 309.0);
Tailwind
colors: {
custom: {
50: '#b472d7',
500: '#8d2fc5',
950: '#000000',
},
}SCSS
$custom: #8d2fc5; $custom-light: #b472d7; $custom-dark: #000000;
JSON
{
"hex": "#8d2fc5",
"rgb": {
"r": 141,
"g": 47,
"b": 197
},
"hsl": {
"h": 277.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.51767,
"c": 0.22044,
"h": 309
},
"luminance": 0.11727
}Semantic roles & 50–950 ramp
primary
#8D2FC5
secondary
#9ECD82
accent
#E5437F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83