#A74FF2#A74FF2
#A74FF2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.235 H 305.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A74FF2 |
|---|---|
| RGB | rgb(167, 79, 242) |
| HSL | hsl(272, 86%, 63%) |
| HSV | hsv(272, 67%, 95%) |
| CMYK | cmyk(31%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(52.08, 64.08, -67.53) |
| CIE-LCH | lch(52.08, 93.10, 313.50°) |
| OKLab | oklab(61.51% 0.1352 -0.1917) |
| OKLCH | oklch(61.51% 0.235 305.2) |
| XYZ | xyz(34.7558, 20.2185, 86.0587) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.64
Lighter Purple
#A55AF4
ΔE00 2.28
Electric Purple
#AA23FF
ΔE00 5.64
Purpley
#8756E4
ΔE00 5.67
Neon Purple
#BC13FE
ΔE00 5.76
Bright Purple
#BE03FD
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74FF2 #9AF24F
analogous
#564FF2 #A74FF2 #F24FEB
triadic
#A74FF2 #F2A74F #4FF2A7
tetradic
#A74FF2 #F2564F #9AF24F #4FEBF2
square
#A74FF2 #F2564F #9AF24F #4FEBF2
split-complementary
#A74FF2 #EBF24F #4FF256
monochromatic
#6A0EB9 #8B16EE #A74FF2 #C388F6 #E0C1FA
Accessibility & contrast
On white
4.16
#A74FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#A74FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74FF2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74FF2 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#147CEF
Tritanopia (blue-blind)
#99749B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a74ff2; /* rgb */ color: rgb(167, 79, 242); /* oklch */ color: oklch(61.5% 0.235 305.2);
Tailwind
colors: {
custom: {
50: '#c686f7',
500: '#a74ff2',
950: '#000000',
},
}SCSS
$custom: #a74ff2; $custom-light: #c686f7; $custom-dark: #000000;
JSON
{
"hex": "#a74ff2",
"rgb": {
"r": 167,
"g": 79,
"b": 242
},
"hsl": {
"h": 272.393,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.61514,
"c": 0.2346,
"h": 305.2
},
"luminance": 0.20218
}Semantic roles & 50–950 ramp
primary
#A74FF2
secondary
#CCECB1
accent
#E3036A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85