#8F5CC7#8F5CC7
#8F5CC7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.163 H 303.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5CC7 |
|---|---|
| RGB | rgb(143, 92, 199) |
| HSL | hsl(269, 49%, 57%) |
| HSV | hsv(269, 54%, 78%) |
| CMYK | cmyk(28.1%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(49.03, 42.02, -48.20) |
| CIE-LCH | lch(49.03, 63.94, 311.08°) |
| OKLab | oklab(57.82% 0.0906 -0.1358) |
| OKLCH | oklch(57.82% 0.163 303.7) |
| XYZ | xyz(25.4614, 17.6175, 56.0809) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.96
Amethyst
#9B5FC0
ΔE00 3.43
Purpley
#8756E4
ΔE00 5.23
Lightish Purple
#A552E6
ΔE00 5.76
Deep Lilac
#966EBD
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5CC7 #94C75C
analogous
#5C5FC7 #8F5CC7 #C45CC7
triadic
#8F5CC7 #C78F5C #5CC78F
tetradic
#8F5CC7 #C75C5F #94C75C #5CC7C4
square
#8F5CC7 #C75C5F #94C75C #5CC7C4
split-complementary
#8F5CC7 #C7C45C #5FC75C
monochromatic
#522B7D #703BAB #8F5CC7 #AE8AD7 #CEB7E6
Accessibility & contrast
On white
4.64
#8F5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#8F5CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F5CC7
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F5CC7 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#857089
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8f5cc7; /* rgb */ color: rgb(143, 92, 199); /* oklch */ color: oklch(57.8% 0.163 303.7);
Tailwind
colors: {
custom: {
50: '#b38cd8',
500: '#8f5cc7',
950: '#000000',
},
}SCSS
$custom: #8f5cc7; $custom-light: #b38cd8; $custom-dark: #000000;
JSON
{
"hex": "#8f5cc7",
"rgb": {
"r": 143,
"g": 92,
"b": 199
},
"hsl": {
"h": 268.598,
"s": 48.858,
"l": 57.059
},
"oklch": {
"l": 0.57819,
"c": 0.16324,
"h": 303.7
},
"luminance": 0.17617
}Semantic roles & 50–950 ramp
primary
#8F5CC7
secondary
#C0D5AA
accent
#D84F97
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83