#A574F5#A574F5
#A574F5 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.187 H 298.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A574F5 |
|---|---|
| RGB | rgb(165, 116, 245) |
| HSL | hsl(263, 87%, 71%) |
| HSV | hsv(263, 53%, 96%) |
| CMYK | cmyk(32.7%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(59.05, 45.62, -58.01) |
| CIE-LCH | lch(59.05, 73.80, 308.18°) |
| OKLab | oklab(66.6% 0.0899 -0.1639) |
| OKLCH | oklch(66.6% 0.187 298.8) |
| XYZ | xyz(38.2399, 27.0823, 89.5813) |
| Luminance | 0.2708 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.84
Mediumpurple
#9370DB
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 4.80
Light Purple
#BF77F6
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 6.18
Periwinkle (survey)
#8E82FE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A574F5 #C4F574
analogous
#7483F5 #A574F5 #E674F5
triadic
#A574F5 #F5A574 #74F5A5
tetradic
#A574F5 #F57483 #C4F574 #74F5E6
square
#A574F5 #F57483 #C4F574 #74F5E6
split-complementary
#A574F5 #F5E674 #83F574
monochromatic
#5E10DF #803BF1 #A574F5 #CAADF9 #EDE2FD
Accessibility & contrast
On white
3.27
#A574F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A574F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A574F5
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A574F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A574F5 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#948DAA
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a574f5; /* rgb */ color: rgb(165, 116, 245); /* oklch */ color: oklch(66.6% 0.187 298.8);
Tailwind
colors: {
custom: {
50: '#c39df9',
500: '#a574f5',
950: '#000000',
},
}SCSS
$custom: #a574f5; $custom-light: #c39df9; $custom-dark: #000000;
JSON
{
"hex": "#a574f5",
"rgb": {
"r": 165,
"g": 116,
"b": 245
},
"hsl": {
"h": 262.791,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.66598,
"c": 0.18697,
"h": 298.8
},
"luminance": 0.27083
}Semantic roles & 50–950 ramp
primary
#A574F5
secondary
#E7F4D1
accent
#E3028E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85