#A051F2#A051F2
#A051F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.231 H 302.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A051F2 |
|---|---|
| RGB | rgb(160, 81, 242) |
| HSL | hsl(269, 86%, 63%) |
| HSV | hsv(269, 67%, 95%) |
| CMYK | cmyk(33.9%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(51.58, 61.78, -68.39) |
| CIE-LCH | lch(51.58, 92.17, 312.09°) |
| OKLab | oklab(60.97% 0.124 -0.1945) |
| OKLCH | oklch(60.97% 0.231 302.5) |
| XYZ | xyz(33.4629, 19.7692, 86.0401) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.04
Lighter Purple
#A55AF4
ΔE00 2.36
Purpley
#8756E4
ΔE00 4.56
Electric Purple
#AA23FF
ΔE00 5.77
Neon Purple
#BC13FE
ΔE00 6.42
Bright Purple
#BE03FD
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A051F2 #A3F251
analogous
#5152F2 #A051F2 #F051F2
triadic
#A051F2 #F2A051 #51F2A0
tetradic
#A051F2 #F25152 #A3F251 #51F2F0
square
#A051F2 #F25152 #A3F251 #51F2F0
split-complementary
#A051F2 #F2F051 #52F251
monochromatic
#630EBB #8118EE #A051F2 #BF8AF6 #DEC3FB
Accessibility & contrast
On white
4.24
#A051F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A051F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A051F2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A051F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A051F2 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#8F769B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a051f2; /* rgb */ color: rgb(160, 81, 242); /* oklch */ color: oklch(61.0% 0.231 302.5);
Tailwind
colors: {
custom: {
50: '#c287f7',
500: '#a051f2',
950: '#000000',
},
}SCSS
$custom: #a051f2; $custom-light: #c287f7; $custom-dark: #000000;
JSON
{
"hex": "#a051f2",
"rgb": {
"r": 160,
"g": 81,
"b": 242
},
"hsl": {
"h": 269.441,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.60967,
"c": 0.23067,
"h": 302.5
},
"luminance": 0.19769
}Semantic roles & 50–950 ramp
primary
#A051F2
secondary
#D0ECB3
accent
#E30375
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85