#8F5FDA#8F5FDA
#8F5FDA is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.182 H 298.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5FDA |
|---|---|
| RGB | rgb(143, 95, 218) |
| HSL | hsl(263, 62%, 61%) |
| HSV | hsv(263, 56%, 85%) |
| CMYK | cmyk(34.4%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(50.79, 45.10, -56.24) |
| CIE-LCH | lch(50.79, 72.09, 308.73°) |
| OKLab | oklab(59.48% 0.0874 -0.1593) |
| OKLCH | oklch(59.48% 0.182 298.8) |
| XYZ | xyz(28.0717, 19.0857, 68.5210) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.24
Lightish Purple
#A552E6
ΔE00 4.66
Mediumpurple
#9370DB
ΔE00 4.92
Lighter Purple
#A55AF4
ΔE00 4.98
Amethyst
#9B5FC0
ΔE00 5.71
Mediumslateblue
#7B68EE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5FDA #AADA5F
analogous
#5F6DDA #8F5FDA #CD5FDA
triadic
#8F5FDA #DA8F5F #5FDA8F
tetradic
#8F5FDA #DA5F6D #AADA5F #5FDACD
square
#8F5FDA #DA5F6D #AADA5F #5FDACD
split-complementary
#8F5FDA #DACD5F #6DDA5F
monochromatic
#52249B #6D2FCD #8F5FDA #B291E5 #D5C2F1
Accessibility & contrast
On white
4.36
#8F5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#8F5FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F5FDA
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F5FDA | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#7F7893
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8f5fda; /* rgb */ color: rgb(143, 95, 218); /* oklch */ color: oklch(59.5% 0.182 298.8);
Tailwind
colors: {
custom: {
50: '#b48ee6',
500: '#8f5fda',
950: '#000000',
},
}SCSS
$custom: #8f5fda; $custom-light: #b48ee6; $custom-dark: #000000;
JSON
{
"hex": "#8f5fda",
"rgb": {
"r": 143,
"g": 95,
"b": 218
},
"hsl": {
"h": 263.415,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.59476,
"c": 0.18176,
"h": 298.8
},
"luminance": 0.19086
}Semantic roles & 50–950 ramp
primary
#8F5FDA
secondary
#CFE1B3
accent
#CA1B86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84