#A562F2#A562F2
#A562F2 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.7% C 0.209 H 302.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A562F2 |
|---|---|
| RGB | rgb(165, 98, 242) |
| HSL | hsl(268, 85%, 67%) |
| HSV | hsv(268, 60%, 95%) |
| CMYK | cmyk(31.8%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(55.22, 54.46, -62.48) |
| CIE-LCH | lch(55.22, 82.89, 311.08°) |
| OKLab | oklab(63.73% 0.1117 -0.177) |
| OKLCH | oklch(63.73% 0.209 302.3) |
| XYZ | xyz(35.9080, 23.1454, 86.5630) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.77
Light Urple
#B36FF6
ΔE00 4.18
Lightish Purple
#A552E6
ΔE00 4.19
Mediumpurple
#9370DB
ΔE00 5.49
Bright Lavender
#C760FF
ΔE00 5.83
Bright Lilac
#C95EFB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562F2 #AFF262
analogous
#6267F2 #A562F2 #ED62F2
triadic
#A562F2 #F2A562 #62F2A5
tetradic
#A562F2 #F26267 #AFF262 #62F2ED
square
#A562F2 #F26267 #AFF262 #62F2ED
split-complementary
#A562F2 #F2ED62 #67F262
monochromatic
#6611C9 #8529ED #A562F2 #C59BF7 #E6D3FB
Accessibility & contrast
On white
3.73
#A562F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#A562F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562F2
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562F2 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#9680A1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a562f2; /* rgb */ color: rgb(165, 98, 242); /* oklch */ color: oklch(63.7% 0.209 302.3);
Tailwind
colors: {
custom: {
50: '#c492f7',
500: '#a562f2',
950: '#000000',
},
}SCSS
$custom: #a562f2; $custom-light: #c492f7; $custom-dark: #000000;
JSON
{
"hex": "#a562f2",
"rgb": {
"r": 165,
"g": 98,
"b": 242
},
"hsl": {
"h": 267.917,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.63729,
"c": 0.20931,
"h": 302.3
},
"luminance": 0.23146
}Semantic roles & 50–950 ramp
primary
#A562F2
secondary
#DAEFC1
accent
#E1047A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85