#8A4DFF#8A4DFF
#8A4DFF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.247 H 293.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4DFF |
|---|---|
| RGB | rgb(138, 77, 255) |
| HSL | hsl(261, 100%, 65%) |
| HSV | hsv(261, 70%, 100%) |
| CMYK | cmyk(45.9%, 69.8%, 0%, 0%) |
| CIE-LAB | lab(49.41, 62.89, -79.27) |
| CIE-LCH | lch(49.41, 101.19, 308.43°) |
| OKLab | oklab(59.17% 0.0964 -0.2272) |
| OKLCH | oklch(59.17% 0.247 293) |
| XYZ | xyz(31.1801, 17.9300, 96.4064) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Lighter Purple
#A55AF4
ΔE00 5.96
Lightish Purple
#A552E6
ΔE00 6.08
Electric Purple
#AA23FF
ΔE00 6.28
Mediumslateblue
#7B68EE
ΔE00 6.95
Bluish Purple
#703BE7
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4DFF #C2FF4D
analogous
#4D69FF #8A4DFF #E34DFF
triadic
#8A4DFF #FF8A4D #4DFF8A
tetradic
#8A4DFF #FF4D69 #C2FF4D #4DFFE3
square
#8A4DFF #FF4D69 #C2FF4D #4DFFE3
split-complementary
#8A4DFF #FFE34D #69FF4D
monochromatic
#4800D2 #6210FF #8A4DFF #B28AFF #DAC7FF
Accessibility & contrast
On white
4.58
#8A4DFF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8A4DFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A4DFF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A4DFF | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0072FC
Tritanopia (blue-blind)
#677BA1
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8a4dff; /* rgb */ color: rgb(138, 77, 255); /* oklch */ color: oklch(59.2% 0.247 293.0);
Tailwind
colors: {
custom: {
50: '#b583ff',
500: '#8a4dff',
950: '#000000',
},
}SCSS
$custom: #8a4dff; $custom-light: #b583ff; $custom-dark: #000000;
JSON
{
"hex": "#8a4dff",
"rgb": {
"r": 138,
"g": 77,
"b": 255
},
"hsl": {
"h": 260.562,
"s": 100,
"l": 65.098
},
"oklch": {
"l": 0.59172,
"c": 0.24675,
"h": 293
},
"luminance": 0.17931
}Semantic roles & 50–950 ramp
primary
#8A4DFF
secondary
#DDF2B6
accent
#E60097
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86