#8C3FCB#8C3FCB
#8C3FCB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.208 H 305.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8C3FCB |
|---|---|
| RGB | rgb(140, 63, 203) |
| HSL | hsl(273, 57%, 52%) |
| HSV | hsv(273, 69%, 80%) |
| CMYK | cmyk(31%, 69%, 0%, 20.4%) |
| CIE-LAB | lab(43.42, 57.11, -59.54) |
| CIE-LCH | lch(43.42, 82.50, 313.81°) |
| OKLab | oklab(53.75% 0.1212 -0.169) |
| OKLCH | oklch(53.75% 0.208 305.6) |
| XYZ | xyz(23.3698, 13.4424, 57.8518) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.70
Blueviolet
#8A2BE2
ΔE00 4.10
Purply
#983FB2
ΔE00 5.25
Violet (survey)
#9A0EEA
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.82
Vibrant Purple
#AD03DE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C3FCB #7ECB3F
analogous
#463FCB #8C3FCB #CB3FC4
triadic
#8C3FCB #CB8C3F #3FCB8C
tetradic
#8C3FCB #CB463F #7ECB3F #3FC4CB
square
#8C3FCB #CB463F #7ECB3F #3FC4CB
split-complementary
#8C3FCB #C4CB3F #3FCB46
monochromatic
#4C1F71 #6C2CA1 #8C3FCB #A96FD8 #C69FE5
Accessibility & contrast
On white
5.69
#8C3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8C3FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C3FCB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C3FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C3FCB | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0A67C8
Tritanopia (blue-blind)
#815F80
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8c3fcb; /* rgb */ color: rgb(140, 63, 203); /* oklch */ color: oklch(53.7% 0.208 305.6);
Tailwind
colors: {
custom: {
50: '#b27adc',
500: '#8c3fcb',
950: '#000000',
},
}SCSS
$custom: #8c3fcb; $custom-light: #b27adc; $custom-dark: #000000;
JSON
{
"hex": "#8c3fcb",
"rgb": {
"r": 140,
"g": 63,
"b": 203
},
"hsl": {
"h": 273,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.53748,
"c": 0.20797,
"h": 305.6
},
"luminance": 0.13442
}Semantic roles & 50–950 ramp
primary
#8C3FCB
secondary
#B0D194
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83