#8A4CDF#8A4CDF
#8A4CDF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.213 H 298.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CDF |
|---|---|
| RGB | rgb(138, 76, 223) |
| HSL | hsl(265, 70%, 59%) |
| HSV | hsv(265, 66%, 87%) |
| CMYK | cmyk(38.1%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(46.84, 55.28, -65.47) |
| CIE-LCH | lch(46.84, 85.69, 310.18°) |
| OKLab | oklab(56.59% 0.1023 -0.1866) |
| OKLCH | oklch(56.59% 0.213 298.7) |
| XYZ | xyz(26.3816, 15.8995, 71.4767) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.62
Lightish Purple
#A552E6
ΔE00 5.53
Blueviolet
#8A2BE2
ΔE00 5.72
Bluish Purple
#703BE7
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 6.20
Light Indigo
#6D5ACF
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CDF #A1DF4C
analogous
#4C57DF #8A4CDF #D34CDF
triadic
#8A4CDF #DF8A4C #4CDF8A
tetradic
#8A4CDF #DF4C57 #A1DF4C #4CDFD3
square
#8A4CDF #DF4C57 #A1DF4C #4CDFD3
split-complementary
#8A4CDF #DFD34C #57DF4C
monochromatic
#4F1B96 #6A24CA #8A4CDF #AC80E8 #CEB4F2
Accessibility & contrast
On white
5.02
#8A4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#8A4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CDF
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CDF | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#766E8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a4cdf; /* rgb */ color: rgb(138, 76, 223); /* oklch */ color: oklch(56.6% 0.213 298.7);
Tailwind
colors: {
custom: {
50: '#b282ea',
500: '#8a4cdf',
950: '#000000',
},
}SCSS
$custom: #8a4cdf; $custom-light: #b282ea; $custom-dark: #000000;
JSON
{
"hex": "#8a4cdf",
"rgb": {
"r": 138,
"g": 76,
"b": 223
},
"hsl": {
"h": 265.306,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.5659,
"c": 0.2128,
"h": 298.7
},
"luminance": 0.159
}Semantic roles & 50–950 ramp
primary
#8A4CDF
secondary
#C8E0A6
accent
#EC3BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84