#8F7AB2#8F7AB2
#8F7AB2 is a light, moderate violet. Relative luminance 0.230; OKLCH L 62.0% C 0.086 H 301.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7AB2 |
|---|---|
| RGB | rgb(143, 122, 178) |
| HSL | hsl(263, 27%, 59%) |
| HSV | hsv(263, 31%, 70%) |
| CMYK | cmyk(19.7%, 31.5%, 0%, 30.2%) |
| CIE-LAB | lab(55.04, 19.68, -26.66) |
| CIE-LCH | lch(55.04, 33.14, 306.44°) |
| OKLab | oklab(62.01% 0.0444 -0.0735) |
| OKLCH | oklch(62.01% 0.086 301.2) |
| XYZ | xyz(26.3214, 22.9730, 45.1584) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.57
Wisteria
#A87DC2
ΔE00 5.91
Dark Lilac
#9C6DA5
ΔE00 6.84
Faded Purple
#916E99
ΔE00 7.01
Soft Purple
#A66FB5
ΔE00 7.13
Heather
#A484AC
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7AB2 #9DB27A
analogous
#7A81B2 #8F7AB2 #AB7AB2
triadic
#8F7AB2 #B28F7A #7AB28F
tetradic
#8F7AB2 #B27A81 #9DB27A #7AB2AB
square
#8F7AB2 #B27A81 #9DB27A #7AB2AB
split-complementary
#8F7AB2 #B2AB7A #81B27A
monochromatic
#534170 #6F5897 #8F7AB2 #B0A1C8 #D0C8DF
Accessibility & contrast
On white
3.75
#8F7AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#8F7AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7AB2
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7AB2 | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E83B4
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#89838E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8f7ab2; /* rgb */ color: rgb(143, 122, 178); /* oklch */ color: oklch(62.0% 0.086 301.2);
Tailwind
colors: {
custom: {
50: '#b0a0c9',
500: '#8f7ab2',
950: '#000000',
},
}SCSS
$custom: #8f7ab2; $custom-light: #b0a0c9; $custom-dark: #000000;
JSON
{
"hex": "#8f7ab2",
"rgb": {
"r": 143,
"g": 122,
"b": 178
},
"hsl": {
"h": 262.5,
"s": 26.667,
"l": 58.824
},
"oklch": {
"l": 0.62014,
"c": 0.08587,
"h": 301.2
},
"luminance": 0.22973
}Semantic roles & 50–950 ramp
primary
#8F7AB2
secondary
#C7CFB9
accent
#C365A0
background
#FAF9FC
surface
#F5F2F8
border
#CFCCD1
text
#100E13
muted
#7F7E82