#A74FE3#A74FE3
#A74FE3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.219 H 308.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FE3 |
|---|---|
| RGB | rgb(167, 79, 227) |
| HSL | hsl(276, 73%, 60%) |
| HSV | hsv(276, 65%, 89%) |
| CMYK | cmyk(26.4%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(51.10, 60.76, -60.69) |
| CIE-LCH | lch(51.10, 85.88, 315.03°) |
| OKLab | oklab(60.5% 0.1367 -0.1716) |
| OKLCH | oklch(60.5% 0.219 308.5) |
| XYZ | xyz(32.5947, 19.3540, 74.6768) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.86
Lighter Purple
#A55AF4
ΔE00 3.66
Mediumorchid
#BA55D3
ΔE00 5.35
Purpley
#8756E4
ΔE00 5.85
Neon Purple
#BC13FE
ΔE00 6.03
Electric Purple
#AA23FF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FE3 #8BE34F
analogous
#5D4FE3 #A74FE3 #E34FD5
triadic
#A74FE3 #E3A74F #4FE3A7
tetradic
#A74FE3 #E35D4F #8BE34F #4FD5E3
square
#A74FE3 #E35D4F #8BE34F #4FD5E3
split-complementary
#A74FE3 #D5E34F #4FE35D
monochromatic
#68199E #8B22D3 #A74FE3 #C184EB #DCB9F4
Accessibility & contrast
On white
4.31
#A74FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#A74FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FE3
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FE3 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#9E6E92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a74fe3; /* rgb */ color: rgb(167, 79, 227); /* oklch */ color: oklch(60.5% 0.219 308.5);
Tailwind
colors: {
custom: {
50: '#c586ed',
500: '#a74fe3',
950: '#000000',
},
}SCSS
$custom: #a74fe3; $custom-light: #c586ed; $custom-dark: #000000;
JSON
{
"hex": "#a74fe3",
"rgb": {
"r": 167,
"g": 79,
"b": 227
},
"hsl": {
"h": 275.676,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.60495,
"c": 0.21939,
"h": 308.5
},
"luminance": 0.19354
}Semantic roles & 50–950 ramp
primary
#A74FE3
secondary
#C2E3AA
accent
#EF3983
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84