#A072F8#A072F8
#A072F8 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.193 H 296.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A072F8 |
|---|---|
| RGB | rgb(160, 114, 248) |
| HSL | hsl(261, 91%, 71%) |
| HSV | hsv(261, 54%, 97%) |
| CMYK | cmyk(35.5%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(58.31, 46.28, -60.89) |
| CIE-LCH | lch(58.31, 76.48, 307.24°) |
| OKLab | oklab(65.99% 0.0864 -0.1725) |
| OKLCH | oklch(65.99% 0.193 296.6) |
| XYZ | xyz(37.4535, 26.2849, 91.8890) |
| Luminance | 0.2629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 4.59
Easter Purple
#C071FE
ΔE00 5.70
Lighter Purple
#A55AF4
ΔE00 5.80
Light Purple
#BF77F6
ΔE00 6.09
Periwinkle (survey)
#8E82FE
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A072F8 #CAF872
analogous
#7287F8 #A072F8 #E372F8
triadic
#A072F8 #F8A072 #72F8A0
tetradic
#A072F8 #F87287 #CAF872 #72F8E3
square
#A072F8 #F87287 #CAF872 #72F8E3
split-complementary
#A072F8 #F8E372 #87F872
monochromatic
#560BE4 #7938F5 #A072F8 #C7ACFB #EBE2FE
Accessibility & contrast
On white
3.36
#A072F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#A072F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A072F8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A072F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A072F8 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378DFD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#8C8DAA
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a072f8; /* rgb */ color: rgb(160, 114, 248); /* oklch */ color: oklch(66.0% 0.193 296.6);
Tailwind
colors: {
custom: {
50: '#c09cfb',
500: '#a072f8',
950: '#000000',
},
}SCSS
$custom: #a072f8; $custom-light: #c09cfb; $custom-dark: #000000;
JSON
{
"hex": "#a072f8",
"rgb": {
"r": 160,
"g": 114,
"b": 248
},
"hsl": {
"h": 260.597,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.65989,
"c": 0.19291,
"h": 296.6
},
"luminance": 0.26286
}Semantic roles & 50–950 ramp
primary
#A072F8
secondary
#E8F5D1
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85