#A462F2#A462F2
#A462F2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.209 H 301.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A462F2 |
|---|---|
| RGB | rgb(164, 98, 242) |
| HSL | hsl(268, 85%, 67%) |
| HSV | hsv(268, 60%, 95%) |
| CMYK | cmyk(32.2%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(55.11, 54.24, -62.66) |
| CIE-LCH | lch(55.11, 82.88, 310.88°) |
| OKLab | oklab(63.62% 0.1104 -0.1776) |
| OKLCH | oklch(63.62% 0.209 301.9) |
| XYZ | xyz(35.7008, 23.0386, 86.5532) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.75
Lightish Purple
#A552E6
ΔE00 4.18
Light Urple
#B36FF6
ΔE00 4.30
Mediumpurple
#9370DB
ΔE00 5.41
Bright Lavender
#C760FF
ΔE00 6.01
Bright Lilac
#C95EFB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462F2 #B0F262
analogous
#6268F2 #A462F2 #EC62F2
triadic
#A462F2 #F2A462 #62F2A4
tetradic
#A462F2 #F26268 #B0F262 #62F2EC
square
#A462F2 #F26268 #B0F262 #62F2EC
split-complementary
#A462F2 #F2EC62 #68F262
monochromatic
#6511C9 #8329ED #A462F2 #C59BF7 #E6D3FB
Accessibility & contrast
On white
3.74
#A462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#A462F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462F2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462F2 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B83F7
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#9480A1
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a462f2; /* rgb */ color: rgb(164, 98, 242); /* oklch */ color: oklch(63.6% 0.209 301.9);
Tailwind
colors: {
custom: {
50: '#c391f7',
500: '#a462f2',
950: '#000000',
},
}SCSS
$custom: #a462f2; $custom-light: #c391f7; $custom-dark: #000000;
JSON
{
"hex": "#a462f2",
"rgb": {
"r": 164,
"g": 98,
"b": 242
},
"hsl": {
"h": 267.5,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.63624,
"c": 0.20911,
"h": 301.9
},
"luminance": 0.23039
}Semantic roles & 50–950 ramp
primary
#A462F2
secondary
#DAEFC1
accent
#E1047C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85