#8A4CCF#8A4CCF
#8A4CCF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.195 H 302.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CCF |
|---|---|
| RGB | rgb(138, 76, 207) |
| HSL | hsl(268, 58%, 55%) |
| HSV | hsv(268, 63%, 81%) |
| CMYK | cmyk(33.3%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(45.74, 51.33, -58.11) |
| CIE-LCH | lch(45.74, 77.54, 311.46°) |
| OKLab | oklab(55.45% 0.1038 -0.165) |
| OKLCH | oklch(55.45% 0.195 302.2) |
| XYZ | xyz(24.3255, 15.0771, 60.6480) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 5.11
Blueviolet
#8A2BE2
ΔE00 5.93
Lightish Purple
#A552E6
ΔE00 6.27
Deep Lavender
#8D5EB7
ΔE00 6.53
Purply
#983FB2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CCF #91CF4C
analogous
#4C4FCF #8A4CCF #CB4CCF
triadic
#8A4CCF #CF8A4C #4CCF8A
tetradic
#8A4CCF #CF4C4F #91CF4C #4CCFCB
square
#8A4CCF #CF4C4F #91CF4C #4CCFCB
split-complementary
#8A4CCF #CFCB4C #4FCF4C
monochromatic
#4E227F #6B2FAF #8A4CCF #AA7CDC #C9ADE9
Accessibility & contrast
On white
5.23
#8A4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#8A4CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CCF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CCF | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#7C6887
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a4ccf; /* rgb */ color: rgb(138, 76, 207); /* oklch */ color: oklch(55.4% 0.195 302.2);
Tailwind
colors: {
custom: {
50: '#b181de',
500: '#8a4ccf',
950: '#000000',
},
}SCSS
$custom: #8a4ccf; $custom-light: #b181de; $custom-dark: #000000;
JSON
{
"hex": "#8a4ccf",
"rgb": {
"r": 138,
"g": 76,
"b": 207
},
"hsl": {
"h": 268.397,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.55446,
"c": 0.19492,
"h": 302.2
},
"luminance": 0.15077
}Semantic roles & 50–950 ramp
primary
#8A4CCF
secondary
#BDD7A0
accent
#E14798
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83