#A272F8#A272F8
#A272F8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.193 H 297.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A272F8 |
|---|---|
| RGB | rgb(162, 114, 248) |
| HSL | hsl(261, 91%, 71%) |
| HSV | hsv(261, 54%, 97%) |
| CMYK | cmyk(34.7%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(58.50, 46.75, -60.56) |
| CIE-LCH | lch(58.50, 76.51, 307.67°) |
| OKLab | oklab(66.18% 0.0888 -0.1715) |
| OKLCH | oklch(66.18% 0.193 297.4) |
| XYZ | xyz(37.8567, 26.4928, 91.9079) |
| Luminance | 0.2649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.33
Mediumpurple
#9370DB
ΔE00 4.72
Easter Purple
#C071FE
ΔE00 5.33
Light Purple
#BF77F6
ΔE00 5.72
Lighter Purple
#A55AF4
ΔE00 5.75
Periwinkle (survey)
#8E82FE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272F8 #C8F872
analogous
#7285F8 #A272F8 #E572F8
triadic
#A272F8 #F8A272 #72F8A2
tetradic
#A272F8 #F87285 #C8F872 #72F8E5
square
#A272F8 #F87285 #C8F872 #72F8E5
split-complementary
#A272F8 #F8E572 #85F872
monochromatic
#590BE4 #7C38F5 #A272F8 #C8ACFB #ECE2FE
Accessibility & contrast
On white
3.33
#A272F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A272F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272F8
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272F8 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#8F8DAA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a272f8; /* rgb */ color: rgb(162, 114, 248); /* oklch */ color: oklch(66.2% 0.193 297.4);
Tailwind
colors: {
custom: {
50: '#c29cfb',
500: '#a272f8',
950: '#000000',
},
}SCSS
$custom: #a272f8; $custom-light: #c29cfb; $custom-dark: #000000;
JSON
{
"hex": "#a272f8",
"rgb": {
"r": 162,
"g": 114,
"b": 248
},
"hsl": {
"h": 261.493,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.66179,
"c": 0.19313,
"h": 297.4
},
"luminance": 0.26493
}Semantic roles & 50–950 ramp
primary
#A272F8
secondary
#E8F5D1
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85