#8A4CFF#8A4CFF
#8A4CFF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.248 H 293.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CFF |
|---|---|
| RGB | rgb(138, 76, 255) |
| HSL | hsl(261, 100%, 65%) |
| HSV | hsv(261, 70%, 100%) |
| CMYK | cmyk(45.9%, 70.2%, 0%, 0%) |
| CIE-LAB | lab(49.24, 63.37, -79.55) |
| CIE-LCH | lch(49.24, 101.70, 308.54°) |
| OKLab | oklab(59.05% 0.0972 -0.228) |
| OKLCH | oklch(59.05% 0.248 293.1) |
| XYZ | xyz(31.1107, 17.7912, 96.3832) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Lighter Purple
#A55AF4
ΔE00 6.08
Lightish Purple
#A552E6
ΔE00 6.12
Electric Purple
#AA23FF
ΔE00 6.14
Mediumslateblue
#7B68EE
ΔE00 7.13
Bluish Purple
#703BE7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CFF #C1FF4C
analogous
#4C68FF #8A4CFF #E34CFF
triadic
#8A4CFF #FF8A4C #4CFF8A
tetradic
#8A4CFF #FF4C68 #C1FF4C #4CFFE3
square
#8A4CFF #FF4C68 #C1FF4C #4CFFE3
split-complementary
#8A4CFF #FFE34C #68FF4C
monochromatic
#4800D1 #620FFF #8A4CFF #B289FF #DAC6FF
Accessibility & contrast
On white
4.61
#8A4CFF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#8A4CFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CFF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CFF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CFF | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0072FB
Tritanopia (blue-blind)
#677AA1
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a4cff; /* rgb */ color: rgb(138, 76, 255); /* oklch */ color: oklch(59.1% 0.248 293.1);
Tailwind
colors: {
custom: {
50: '#b583ff',
500: '#8a4cff',
950: '#000000',
},
}SCSS
$custom: #8a4cff; $custom-light: #b583ff; $custom-dark: #000000;
JSON
{
"hex": "#8a4cff",
"rgb": {
"r": 138,
"g": 76,
"b": 255
},
"hsl": {
"h": 260.782,
"s": 100,
"l": 64.902
},
"oklch": {
"l": 0.59052,
"c": 0.24784,
"h": 293.1
},
"luminance": 0.17792
}Semantic roles & 50–950 ramp
primary
#8A4CFF
secondary
#DDF2B5
accent
#E60096
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86