#A272F7#A272F7
#A272F7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.192 H 297.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A272F7 |
|---|---|
| RGB | rgb(162, 114, 247) |
| HSL | hsl(262, 89%, 71%) |
| HSV | hsv(262, 54%, 97%) |
| CMYK | cmyk(34.4%, 53.8%, 0%, 3.1%) |
| CIE-LAB | lab(58.44, 46.50, -60.10) |
| CIE-LCH | lch(58.44, 75.99, 307.73°) |
| OKLab | oklab(66.12% 0.0888 -0.1701) |
| OKLCH | oklch(66.12% 0.192 297.6) |
| XYZ | xyz(37.7019, 26.4309, 91.0930) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.29
Mediumpurple
#9370DB
ΔE00 4.61
Easter Purple
#C071FE
ΔE00 5.32
Light Purple
#BF77F6
ΔE00 5.68
Lighter Purple
#A55AF4
ΔE00 5.73
Periwinkle (survey)
#8E82FE
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272F7 #C7F772
analogous
#7284F7 #A272F7 #E472F7
triadic
#A272F7 #F7A272 #72F7A2
tetradic
#A272F7 #F77284 #C7F772 #72F7E4
square
#A272F7 #F77284 #C7F772 #72F7E4
split-complementary
#A272F7 #F7E472 #84F772
monochromatic
#5A0DE2 #7C38F4 #A272F7 #C8ACFA #ECE2FD
Accessibility & contrast
On white
3.34
#A272F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#A272F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272F7
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272F7 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398DFB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#8F8DAA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a272f7; /* rgb */ color: rgb(162, 114, 247); /* oklch */ color: oklch(66.1% 0.192 297.6);
Tailwind
colors: {
custom: {
50: '#c29cfa',
500: '#a272f7',
950: '#000000',
},
}SCSS
$custom: #a272f7; $custom-light: #c29cfa; $custom-dark: #000000;
JSON
{
"hex": "#a272f7",
"rgb": {
"r": 162,
"g": 114,
"b": 247
},
"hsl": {
"h": 261.654,
"s": 89.262,
"l": 70.784
},
"oklch": {
"l": 0.66117,
"c": 0.19191,
"h": 297.6
},
"luminance": 0.26431
}Semantic roles & 50–950 ramp
primary
#A272F7
secondary
#E7F4D1
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85