#8A4FD2#8A4FD2
#8A4FD2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.194 H 301.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FD2 |
|---|---|
| RGB | rgb(138, 79, 210) |
| HSL | hsl(267, 59%, 57%) |
| HSV | hsv(267, 62%, 82%) |
| CMYK | cmyk(34.3%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(46.51, 50.53, -58.59) |
| CIE-LCH | lch(46.51, 77.37, 310.77°) |
| OKLab | oklab(56.07% 0.1002 -0.1664) |
| OKLCH | oklch(56.07% 0.194 301.1) |
| XYZ | xyz(24.9073, 15.6482, 62.6685) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Lightish Purple
#A552E6
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.21
Deep Lavender
#8D5EB7
ΔE00 6.35
Blueviolet
#8A2BE2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FD2 #97D24F
analogous
#4F56D2 #8A4FD2 #CC4FD2
triadic
#8A4FD2 #D28A4F #4FD28A
tetradic
#8A4FD2 #D24F56 #97D24F #4FD2CC
square
#8A4FD2 #D24F56 #97D24F #4FD2CC
split-complementary
#8A4FD2 #D2CC4F #56D24F
monochromatic
#4E2285 #6B2EB5 #8A4FD2 #AA80DE #CBB0EB
Accessibility & contrast
On white
5.09
#8A4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8A4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FD2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FD2 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#1F6DCF
Tritanopia (blue-blind)
#7B6B89
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a4fd2; /* rgb */ color: rgb(138, 79, 210); /* oklch */ color: oklch(56.1% 0.194 301.1);
Tailwind
colors: {
custom: {
50: '#b183e1',
500: '#8a4fd2',
950: '#000000',
},
}SCSS
$custom: #8a4fd2; $custom-light: #b183e1; $custom-dark: #000000;
JSON
{
"hex": "#8a4fd2",
"rgb": {
"r": 138,
"g": 79,
"b": 210
},
"hsl": {
"h": 267.023,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.56067,
"c": 0.19421,
"h": 301.1
},
"luminance": 0.15648
}Semantic roles & 50–950 ramp
primary
#8A4FD2
secondary
#C1D9A4
accent
#E2459C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83