#A74CF5#A74CF5
#A74CF5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.4% C 0.241 H 304.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A74CF5 |
|---|---|
| RGB | rgb(167, 76, 245) |
| HSL | hsl(272, 89%, 63%) |
| HSV | hsv(272, 69%, 96%) |
| CMYK | cmyk(31.8%, 69%, 0%, 3.9%) |
| CIE-LAB | lab(51.81, 66.09, -69.65) |
| CIE-LCH | lch(51.81, 96.01, 313.50°) |
| OKLab | oklab(61.38% 0.1378 -0.1979) |
| OKLCH | oklch(61.38% 0.241 304.9) |
| XYZ | xyz(34.9985, 19.9771, 88.3807) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.11
Lighter Purple
#A55AF4
ΔE00 2.73
Electric Purple
#AA23FF
ΔE00 5.09
Neon Purple
#BC13FE
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.72
Bright Purple
#BE03FD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A74CF5 #9AF54C
analogous
#534CF5 #A74CF5 #F54CEE
triadic
#A74CF5 #F5A74C #4CF5A7
tetradic
#A74CF5 #F5534C #9AF54C #4CEEF5
square
#A74CF5 #F5534C #9AF54C #4CEEF5
split-complementary
#A74CF5 #EEF54C #4CF553
monochromatic
#6A0BBC #8B12F2 #A74CF5 #C386F8 #E0C0FB
Accessibility & contrast
On white
4.20
#A74CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#A74CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A74CF5
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A74CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A74CF5 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#99739B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a74cf5; /* rgb */ color: rgb(167, 76, 245); /* oklch */ color: oklch(61.4% 0.241 304.9);
Tailwind
colors: {
custom: {
50: '#c785f9',
500: '#a74cf5',
950: '#000000',
},
}SCSS
$custom: #a74cf5; $custom-light: #c785f9; $custom-dark: #000000;
JSON
{
"hex": "#a74cf5",
"rgb": {
"r": 167,
"g": 76,
"b": 245
},
"hsl": {
"h": 272.308,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.61384,
"c": 0.24119,
"h": 304.9
},
"luminance": 0.19977
}Semantic roles & 50–950 ramp
primary
#A74CF5
secondary
#CCEDB0
accent
#E6006A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140B17
muted
#827C85