#8A4CBF#8A4CBF
#8A4CBF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.177 H 306.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CBF |
|---|---|
| RGB | rgb(138, 76, 191) |
| HSL | hsl(272, 47%, 52%) |
| HSV | hsv(272, 60%, 75%) |
| CMYK | cmyk(27.7%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(44.71, 47.48, -50.51) |
| CIE-LCH | lch(44.71, 69.33, 313.23°) |
| OKLab | oklab(54.37% 0.1045 -0.1427) |
| OKLCH | oklch(54.37% 0.177 306.2) |
| XYZ | xyz(22.4676, 14.3339, 50.8632) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.68
Royal Purple
#7851A9
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 5.04
Deep Lavender
#8D5EB7
ΔE00 5.34
Purpley
#8756E4
ΔE00 6.55
Amethyst
#9B5FC0
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CBF #81BF4C
analogous
#514CBF #8A4CBF #BF4CBA
triadic
#8A4CBF #BF8A4C #4CBF8A
tetradic
#8A4CBF #BF514C #81BF4C #4CBABF
square
#8A4CBF #BF514C #81BF4C #4CBABF
split-complementary
#8A4CBF #BABF4C #4CBF51
monochromatic
#4B266B #6B3698 #8A4CBF #A779CF #C5A6DF
Accessibility & contrast
On white
5.43
#8A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#8A4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CBF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CBF | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#81637E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8a4cbf; /* rgb */ color: rgb(138, 76, 191); /* oklch */ color: oklch(54.4% 0.177 306.2);
Tailwind
colors: {
custom: {
50: '#b081d3',
500: '#8a4cbf',
950: '#000000',
},
}SCSS
$custom: #8a4cbf; $custom-light: #b081d3; $custom-dark: #000000;
JSON
{
"hex": "#8a4cbf",
"rgb": {
"r": 138,
"g": 76,
"b": 191
},
"hsl": {
"h": 272.348,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.54368,
"c": 0.17686,
"h": 306.2
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#8A4CBF
secondary
#B1CC9A
accent
#D7518F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83