#A272F5#A272F5
#A272F5 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.189 H 297.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A272F5 |
|---|---|
| RGB | rgb(162, 114, 245) |
| HSL | hsl(262, 87%, 70%) |
| HSV | hsv(262, 53%, 96%) |
| CMYK | cmyk(33.9%, 53.5%, 0%, 3.9%) |
| CIE-LAB | lab(58.33, 46.00, -59.18) |
| CIE-LCH | lch(58.33, 74.95, 307.86°) |
| OKLab | oklab(66% 0.0887 -0.1674) |
| OKLCH | oklch(66% 0.189 297.9) |
| XYZ | xyz(37.3950, 26.3081, 89.4763) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.22
Mediumpurple
#9370DB
ΔE00 4.39
Easter Purple
#C071FE
ΔE00 5.32
Light Purple
#BF77F6
ΔE00 5.62
Lighter Purple
#A55AF4
ΔE00 5.69
Periwinkle (survey)
#8E82FE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272F5 #C5F572
analogous
#7283F5 #A272F5 #E472F5
triadic
#A272F5 #F5A272 #72F5A2
tetradic
#A272F5 #F57283 #C5F572 #72F5E4
square
#A272F5 #F57283 #C5F572 #72F5E4
split-complementary
#A272F5 #F5E472 #83F572
monochromatic
#5B10DD #7C39F1 #A272F5 #C8ABF9 #ECE2FD
Accessibility & contrast
On white
3.35
#A272F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#A272F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272F5
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272F5 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 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)
#3C8CF9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#908CA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a272f5; /* rgb */ color: rgb(162, 114, 245); /* oklch */ color: oklch(66.0% 0.189 297.9);
Tailwind
colors: {
custom: {
50: '#c19cf9',
500: '#a272f5',
950: '#000000',
},
}SCSS
$custom: #a272f5; $custom-light: #c19cf9; $custom-dark: #000000;
JSON
{
"hex": "#a272f5",
"rgb": {
"r": 162,
"g": 114,
"b": 245
},
"hsl": {
"h": 261.985,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.65995,
"c": 0.18949,
"h": 297.9
},
"luminance": 0.26309
}Semantic roles & 50–950 ramp
primary
#A272F5
secondary
#E6F3CF
accent
#E30291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85