#8F4CC3#8F4CC3
#8F4CC3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.183 H 307.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CC3 |
|---|---|
| RGB | rgb(143, 76, 195) |
| HSL | hsl(274, 50%, 53%) |
| HSV | hsv(274, 61%, 76%) |
| CMYK | cmyk(26.7%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(45.56, 49.61, -51.43) |
| CIE-LCH | lch(45.56, 71.46, 313.97°) |
| OKLab | oklab(55.2% 0.111 -0.1452) |
| OKLCH | oklch(55.2% 0.183 307.4) |
| XYZ | xyz(23.7604, 14.9489, 53.2529) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 6.03
Purpley
#8756E4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CC3 #80C34C
analogous
#534CC3 #8F4CC3 #C34CBB
triadic
#8F4CC3 #C38F4C #4CC38F
tetradic
#8F4CC3 #C3534C #80C34C #4CBBC3
square
#8F4CC3 #C3534C #80C34C #4CBBC3
split-complementary
#8F4CC3 #BBC34C #4CC353
monochromatic
#4F256F #6F359D #8F4CC3 #AC7AD2 #C8A8E2
Accessibility & contrast
On white
5.26
#8F4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8F4CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CC3
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CC3 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#376CC0
Tritanopia (blue-blind)
#876480
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8f4cc3; /* rgb */ color: rgb(143, 76, 195); /* oklch */ color: oklch(55.2% 0.183 307.4);
Tailwind
colors: {
custom: {
50: '#b381d6',
500: '#8f4cc3',
950: '#000000',
},
}SCSS
$custom: #8f4cc3; $custom-light: #b381d6; $custom-dark: #000000;
JSON
{
"hex": "#8f4cc3",
"rgb": {
"r": 143,
"g": 76,
"b": 195
},
"hsl": {
"h": 273.782,
"s": 49.791,
"l": 53.137
},
"oklch": {
"l": 0.55204,
"c": 0.18274,
"h": 307.4
},
"luminance": 0.14949
}Semantic roles & 50–950 ramp
primary
#8F4CC3
secondary
#B2CF9C
accent
#D94E8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83