#802CAE#802CAE
#802CAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.1% C 0.198 H 310.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #802CAE |
|---|---|
| RGB | rgb(128, 44, 174) |
| HSL | hsl(279, 60%, 43%) |
| HSV | hsv(279, 75%, 68%) |
| CMYK | cmyk(26.4%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(36.83, 56.41, -53.27) |
| CIE-LCH | lch(36.83, 77.59, 316.64°) |
| OKLab | oklab(48.07% 0.1285 -0.1509) |
| OKLCH | oklch(48.07% 0.198 310.4) |
| XYZ | xyz(17.4413, 9.4469, 40.9408) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.62
Rebeccapurple
#663399
ΔE00 5.28
Darkviolet
#9400D3
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 6.23
Purply
#983FB2
ΔE00 6.53
Blueviolet
#8A2BE2
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802CAE #5AAE2C
analogous
#3F2CAE #802CAE #AE2C9B
triadic
#802CAE #AE802C #2CAE80
tetradic
#802CAE #AE3F2C #5AAE2C #2C9BAE
square
#802CAE #AE3F2C #5AAE2C #2C9BAE
split-complementary
#802CAE #9BAE2C #2CAE3F
monochromatic
#38134C #5C207D #802CAE #A047D0 #B978DD
Accessibility & contrast
On white
7.27
#802CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#802CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802CAE
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802CAE | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0E58AB
Tritanopia (blue-blind)
#7A4A6B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #802cae; /* rgb */ color: rgb(128, 44, 174); /* oklch */ color: oklch(48.1% 0.198 310.4);
Tailwind
colors: {
custom: {
50: '#a96ec7',
500: '#802cae',
950: '#000000',
},
}SCSS
$custom: #802cae; $custom-light: #a96ec7; $custom-dark: #000000;
JSON
{
"hex": "#802cae",
"rgb": {
"r": 128,
"g": 44,
"b": 174
},
"hsl": {
"h": 278.769,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.48065,
"c": 0.1982,
"h": 310.4
},
"luminance": 0.09447
}Semantic roles & 50–950 ramp
primary
#802CAE
secondary
#8FC571
accent
#E3457D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82