#A072F5#A072F5
#A072F5 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.189 H 297.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A072F5 |
|---|---|
| RGB | rgb(160, 114, 245) |
| HSL | hsl(261, 87%, 70%) |
| HSV | hsv(261, 53%, 96%) |
| CMYK | cmyk(34.7%, 53.5%, 0%, 3.9%) |
| CIE-LAB | lab(58.13, 45.52, -59.51) |
| CIE-LCH | lch(58.13, 74.92, 307.42°) |
| OKLab | oklab(65.8% 0.0862 -0.1684) |
| OKLCH | oklch(65.8% 0.189 297.1) |
| XYZ | xyz(36.9918, 26.1003, 89.4574) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.59
Mediumpurple
#9370DB
ΔE00 4.23
Easter Purple
#C071FE
ΔE00 5.69
Lighter Purple
#A55AF4
ΔE00 5.74
Light Purple
#BF77F6
ΔE00 5.99
Periwinkle (survey)
#8E82FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A072F5 #C7F572
analogous
#7285F5 #A072F5 #E272F5
triadic
#A072F5 #F5A072 #72F5A0
tetradic
#A072F5 #F57285 #C7F572 #72F5E2
square
#A072F5 #F57285 #C7F572 #72F5E2
split-complementary
#A072F5 #F5E272 #85F572
monochromatic
#5810DD #7939F1 #A072F5 #C7ABF9 #ECE2FD
Accessibility & contrast
On white
3.38
#A072F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A072F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A072F5
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A072F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A072F5 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#8D8CA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a072f5; /* rgb */ color: rgb(160, 114, 245); /* oklch */ color: oklch(65.8% 0.189 297.1);
Tailwind
colors: {
custom: {
50: '#c09cf9',
500: '#a072f5',
950: '#000000',
},
}SCSS
$custom: #a072f5; $custom-light: #c09cf9; $custom-dark: #000000;
JSON
{
"hex": "#a072f5",
"rgb": {
"r": 160,
"g": 114,
"b": 245
},
"hsl": {
"h": 261.069,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.65804,
"c": 0.18924,
"h": 297.1
},
"luminance": 0.26101
}Semantic roles & 50–950 ramp
primary
#A072F5
secondary
#E7F3CF
accent
#E30294
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85