#8F5CDC#8F5CDC
#8F5CDC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.188 H 298.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5CDC |
|---|---|
| RGB | rgb(143, 92, 220) |
| HSL | hsl(264, 65%, 61%) |
| HSV | hsv(264, 58%, 86%) |
| CMYK | cmyk(35%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(50.29, 47.24, -58.18) |
| CIE-LCH | lch(50.29, 74.94, 309.08°) |
| OKLab | oklab(59.15% 0.0911 -0.165) |
| OKLCH | oklch(59.15% 0.188 298.9) |
| XYZ | xyz(28.0699, 18.6609, 69.8193) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.55
Lightish Purple
#A552E6
ΔE00 4.28
Lighter Purple
#A55AF4
ΔE00 4.84
Mediumpurple
#9370DB
ΔE00 5.71
Mediumslateblue
#7B68EE
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5CDC #A9DC5C
analogous
#5C69DC #8F5CDC #CF5CDC
triadic
#8F5CDC #DC8F5C #5CDC8F
tetradic
#8F5CDC #DC5C69 #A9DC5C #5CDCCF
square
#8F5CDC #DC5C69 #A9DC5C #5CDCCF
split-complementary
#8F5CDC #DCCF5C #69DC5C
monochromatic
#52229C #6D2CCE #8F5CDC #B28EE7 #D4C1F2
Accessibility & contrast
On white
4.44
#8F5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#8F5CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F5CDC
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F5CDC | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#3077D9
Tritanopia (blue-blind)
#7E7793
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8f5cdc; /* rgb */ color: rgb(143, 92, 220); /* oklch */ color: oklch(59.2% 0.188 298.9);
Tailwind
colors: {
custom: {
50: '#b48ce8',
500: '#8f5cdc',
950: '#000000',
},
}SCSS
$custom: #8f5cdc; $custom-light: #b48ce8; $custom-dark: #000000;
JSON
{
"hex": "#8f5cdc",
"rgb": {
"r": 143,
"g": 92,
"b": 220
},
"hsl": {
"h": 263.906,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.5915,
"c": 0.18849,
"h": 298.9
},
"luminance": 0.18661
}Semantic roles & 50–950 ramp
primary
#8F5CDC
secondary
#CFE2B2
accent
#CC1985
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84