#8A4FCB#8A4FCB
#8A4FCB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.186 H 302.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FCB |
|---|---|
| RGB | rgb(138, 79, 203) |
| HSL | hsl(269, 54%, 55%) |
| HSV | hsv(269, 61%, 80%) |
| CMYK | cmyk(32%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(46.05, 48.80, -55.30) |
| CIE-LCH | lch(46.05, 73.76, 311.43°) |
| OKLab | oklab(55.59% 0.1005 -0.1567) |
| OKLCH | oklch(55.59% 0.186 302.7) |
| XYZ | xyz(24.0542, 15.3070, 58.1756) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.42
Darkorchid
#9932CC
ΔE00 5.60
Deep Lavender
#8D5EB7
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 6.10
Lightish Purple
#A552E6
ΔE00 6.26
Purply
#983FB2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FCB #90CB4F
analogous
#4F52CB #8A4FCB #C84FCB
triadic
#8A4FCB #CB8A4F #4FCB8A
tetradic
#8A4FCB #CB4F52 #90CB4F #4FCBC8
square
#8A4FCB #CB4F52 #90CB4F #4FCBC8
split-complementary
#8A4FCB #CBC84F #52CB4F
monochromatic
#4E247B #6B32AA #8A4FCB #A97ED9 #C9ADE7
Accessibility & contrast
On white
5.17
#8A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8A4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FCB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FCB | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#7D6986
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a4fcb; /* rgb */ color: rgb(138, 79, 203); /* oklch */ color: oklch(55.6% 0.186 302.7);
Tailwind
colors: {
custom: {
50: '#b083db',
500: '#8a4fcb',
950: '#000000',
},
}SCSS
$custom: #8a4fcb; $custom-light: #b083db; $custom-dark: #000000;
JSON
{
"hex": "#8a4fcb",
"rgb": {
"r": 138,
"g": 79,
"b": 203
},
"hsl": {
"h": 268.548,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.55589,
"c": 0.1862,
"h": 302.7
},
"luminance": 0.15307
}Semantic roles & 50–950 ramp
primary
#8A4FCB
secondary
#BCD5A1
accent
#DE4A97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83