#8D2FC2#8D2FC2
#8D2FC2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.218 H 309.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2FC2 |
|---|---|
| RGB | rgb(141, 47, 194) |
| HSL | hsl(278, 61%, 47%) |
| HSV | hsv(278, 76%, 76%) |
| CMYK | cmyk(27.3%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.56, 61.98, -58.94) |
| CIE-LCH | lch(40.56, 85.53, 316.44°) |
| OKLab | oklab(51.54% 0.1394 -0.1671) |
| OKLCH | oklch(51.54% 0.218 309.8) |
| XYZ | xyz(21.7367, 11.5912, 52.1207) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.69
Darkviolet
#9400D3
ΔE00 3.60
Blueviolet
#8A2BE2
ΔE00 4.50
Purply
#983FB2
ΔE00 5.04
Violet (survey)
#9A0EEA
ΔE00 5.33
Vibrant Purple
#AD03DE
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2FC2 #64C22F
analogous
#432FC2 #8D2FC2 #C22FAE
triadic
#8D2FC2 #C28D2F #2FC28D
tetradic
#8D2FC2 #C2432F #64C22F #2FAEC2
square
#8D2FC2 #C2432F #64C22F #2FAEC2
split-complementary
#8D2FC2 #AEC22F #2FC243
monochromatic
#45175F #692391 #8D2FC2 #A958D6 #C289E2
Accessibility & contrast
On white
6.33
#8D2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#8D2FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2FC2
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2FC2 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#855277
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8d2fc2; /* rgb */ color: rgb(141, 47, 194); /* oklch */ color: oklch(51.5% 0.218 309.8);
Tailwind
colors: {
custom: {
50: '#b372d5',
500: '#8d2fc2',
950: '#000000',
},
}SCSS
$custom: #8d2fc2; $custom-light: #b372d5; $custom-dark: #000000;
JSON
{
"hex": "#8d2fc2",
"rgb": {
"r": 141,
"g": 47,
"b": 194
},
"hsl": {
"h": 278.367,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.51542,
"c": 0.21766,
"h": 309.8
},
"luminance": 0.11591
}Semantic roles & 50–950 ramp
primary
#8D2FC2
secondary
#9CCC81
accent
#E4447E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83