#8C38CF#8C38CF
#8C38CF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.220 H 305.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8C38CF |
|---|---|
| RGB | rgb(140, 56, 207) |
| HSL | hsl(273, 61%, 52%) |
| HSV | hsv(273, 73%, 81%) |
| CMYK | cmyk(32.4%, 72.9%, 0%, 18.8%) |
| CIE-LAB | lab(42.63, 61.07, -63.14) |
| CIE-LCH | lch(42.63, 87.84, 314.05°) |
| OKLab | oklab(53.27% 0.1274 -0.1796) |
| OKLCH | oklch(53.27% 0.22 305.4) |
| XYZ | xyz(23.4894, 12.9090, 60.2736) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.43
Blueviolet
#8A2BE2
ΔE00 2.95
Violet (survey)
#9A0EEA
ΔE00 4.43
Darkviolet
#9400D3
ΔE00 4.61
Vibrant Purple
#AD03DE
ΔE00 5.55
Bluish Purple
#703BE7
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C38CF #7BCF38
analogous
#4038CF #8C38CF #CF38C7
triadic
#8C38CF #CF8C38 #38CF8C
tetradic
#8C38CF #CF4038 #7BCF38 #38C7CF
square
#8C38CF #CF4038 #7BCF38 #38C7CF
split-complementary
#8C38CF #C7CF38 #38CF40
monochromatic
#4B1B71 #6C27A3 #8C38CF #A869DB #C59BE7
Accessibility & contrast
On white
5.86
#8C38CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#8C38CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C38CF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C38CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C38CF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#805D81
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8c38cf; /* rgb */ color: rgb(140, 56, 207); /* oklch */ color: oklch(53.3% 0.220 305.4);
Tailwind
colors: {
custom: {
50: '#b376df',
500: '#8c38cf',
950: '#000000',
},
}SCSS
$custom: #8c38cf; $custom-light: #b376df; $custom-dark: #000000;
JSON
{
"hex": "#8c38cf",
"rgb": {
"r": 140,
"g": 56,
"b": 207
},
"hsl": {
"h": 273.377,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.53273,
"c": 0.2202,
"h": 305.4
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#8C38CF
secondary
#AED390
accent
#E4448B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83