#8F7AEC#8F7AEC
#8F7AEC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.165 H 289.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7AEC |
|---|---|
| RGB | rgb(143, 122, 236) |
| HSL | hsl(251, 75%, 70%) |
| HSV | hsv(251, 48%, 93%) |
| CMYK | cmyk(39.4%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(57.86, 34.56, -55.03) |
| CIE-LCH | lch(57.86, 64.98, 302.13°) |
| OKLab | oklab(65.07% 0.0551 -0.1558) |
| OKLCH | oklch(65.07% 0.165 289.5) |
| XYZ | xyz(33.4234, 25.8138, 82.5622) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.53
Mediumpurple
#9370DB
ΔE00 4.27
Lavender Blue
#8B88F8
ΔE00 4.84
Perrywinkle
#8F8CE7
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 6.14
Cornflower
#6A79F7
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7AEC #D7EC7A
analogous
#7A9EEC #8F7AEC #C87AEC
triadic
#8F7AEC #EC8F7A #7AEC8F
tetradic
#8F7AEC #EC7A9E #D7EC7A #7AECC8
square
#8F7AEC #EC7A9E #D7EC7A #7AECC8
split-complementary
#8F7AEC #ECC87A #9EEC7A
monochromatic
#3E1DCE #6244E4 #8F7AEC #BCB0F4 #E8E4FB
Accessibility & contrast
On white
3.41
#8F7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#8F7AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7AEC
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7AEC | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#7691A8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #8f7aec; /* rgb */ color: rgb(143, 122, 236); /* oklch */ color: oklch(65.1% 0.165 289.5);
Tailwind
colors: {
custom: {
50: '#b4a1f3',
500: '#8f7aec',
950: '#000000',
},
}SCSS
$custom: #8f7aec; $custom-light: #b4a1f3; $custom-dark: #000000;
JSON
{
"hex": "#8f7aec",
"rgb": {
"r": 143,
"g": 122,
"b": 236
},
"hsl": {
"h": 251.053,
"s": 75,
"l": 70.196
},
"oklch": {
"l": 0.65067,
"c": 0.16522,
"h": 289.5
},
"luminance": 0.25815
}Semantic roles & 50–950 ramp
primary
#8F7AEC
secondary
#EBF1D1
accent
#D70EB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85