#8A4ECF#8A4ECF
#8A4ECF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.192 H 301.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4ECF |
|---|---|
| RGB | rgb(138, 78, 207) |
| HSL | hsl(268, 57%, 56%) |
| HSV | hsv(268, 62%, 81%) |
| CMYK | cmyk(33.3%, 62.3%, 0%, 18.8%) |
| CIE-LAB | lab(46.12, 50.30, -57.50) |
| CIE-LCH | lch(46.12, 76.40, 311.18°) |
| OKLab | oklab(55.72% 0.1015 -0.1632) |
| OKLCH | oklch(55.72% 0.192 301.9) |
| XYZ | xyz(24.4655, 15.3570, 60.6947) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.99
Darkorchid
#9932CC
ΔE00 5.52
Lightish Purple
#A552E6
ΔE00 6.06
Deep Lavender
#8D5EB7
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4ECF #93CF4E
analogous
#4E52CF #8A4ECF #CA4ECF
triadic
#8A4ECF #CF8A4E #4ECF8A
tetradic
#8A4ECF #CF4E52 #93CF4E #4ECFCA
square
#8A4ECF #CF4E52 #93CF4E #4ECFCA
split-complementary
#8A4ECF #CFCA4E #52CF4E
monochromatic
#4E2380 #6B30B0 #8A4ECF #AA7EDC #CAAEE9
Accessibility & contrast
On white
5.16
#8A4ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8A4ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4ECF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4ECF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#7C6A87
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4ecf; /* rgb */ color: rgb(138, 78, 207); /* oklch */ color: oklch(55.7% 0.192 301.9);
Tailwind
colors: {
custom: {
50: '#b183de',
500: '#8a4ecf',
950: '#000000',
},
}SCSS
$custom: #8a4ecf; $custom-light: #b183de; $custom-dark: #000000;
JSON
{
"hex": "#8a4ecf",
"rgb": {
"r": 138,
"g": 78,
"b": 207
},
"hsl": {
"h": 267.907,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.55721,
"c": 0.19217,
"h": 301.9
},
"luminance": 0.15357
}Semantic roles & 50–950 ramp
primary
#8A4ECF
secondary
#BED7A2
accent
#E14799
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83