#8F43CB#8F43CB
#8F43CB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.204 H 306.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8F43CB |
|---|---|
| RGB | rgb(143, 67, 203) |
| HSL | hsl(274, 57%, 53%) |
| HSV | hsv(274, 67%, 80%) |
| CMYK | cmyk(29.6%, 67%, 0%, 20.4%) |
| CIE-LAB | lab(44.47, 55.87, -57.82) |
| CIE-LCH | lch(44.47, 80.41, 314.02°) |
| OKLab | oklab(54.58% 0.1209 -0.1639) |
| OKLCH | oklch(54.58% 0.204 306.4) |
| XYZ | xyz(24.1120, 14.1660, 57.9524) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.95
Blueviolet
#8A2BE2
ΔE00 4.89
Purply
#983FB2
ΔE00 4.95
Violet (survey)
#9A0EEA
ΔE00 6.07
Vibrant Purple
#AD03DE
ΔE00 6.26
Purpley
#8756E4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F43CB #7FCB43
analogous
#4B43CB #8F43CB #CB43C3
triadic
#8F43CB #CB8F43 #43CB8F
tetradic
#8F43CB #CB4B43 #7FCB43 #43C3CB
square
#8F43CB #CB4B43 #7FCB43 #43C3CB
split-complementary
#8F43CB #C3CB43 #43CB4B
monochromatic
#4F2074 #6F2DA4 #8F43CB #AC73D8 #C8A3E6
Accessibility & contrast
On white
5.48
#8F43CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8F43CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F43CB
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F43CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F43CB | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1E6AC8
Tritanopia (blue-blind)
#856182
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f43cb; /* rgb */ color: rgb(143, 67, 203); /* oklch */ color: oklch(54.6% 0.204 306.4);
Tailwind
colors: {
custom: {
50: '#b47cdc',
500: '#8f43cb',
950: '#000000',
},
}SCSS
$custom: #8f43cb; $custom-light: #b47cdc; $custom-dark: #000000;
JSON
{
"hex": "#8f43cb",
"rgb": {
"r": 143,
"g": 67,
"b": 203
},
"hsl": {
"h": 273.529,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.5458,
"c": 0.20368,
"h": 306.4
},
"luminance": 0.14166
}Semantic roles & 50–950 ramp
primary
#8F43CB
secondary
#B1D298
accent
#E0488B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83