#A272CD#A272CD
#A272CD is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.140 H 307.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A272CD |
|---|---|
| RGB | rgb(162, 114, 205) |
| HSL | hsl(272, 48%, 63%) |
| HSV | hsv(272, 44%, 80%) |
| CMYK | cmyk(21%, 44.4%, 0%, 19.6%) |
| CIE-LAB | lab(56.21, 36.34, -40.12) |
| CIE-LCH | lch(56.21, 54.13, 312.17°) |
| OKLab | oklab(63.73% 0.0848 -0.1118) |
| OKLCH | oklch(63.73% 0.14 307.2) |
| XYZ | xyz(31.9349, 24.1241, 60.7198) |
| Luminance | 0.2412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.43
Mediumpurple
#9370DB
ΔE00 4.79
Wisteria
#A87DC2
ΔE00 4.90
Soft Purple
#A66FB5
ΔE00 5.41
Amethyst
#9B5FC0
ΔE00 5.83
Light Urple
#B36FF6
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272CD #9DCD72
analogous
#7472CD #A272CD #CD72CB
triadic
#A272CD #CDA272 #72CDA2
tetradic
#A272CD #CD7472 #9DCD72 #72CBCD
square
#A272CD #CD7472 #9DCD72 #72CBCD
split-complementary
#A272CD #CBCD72 #72CD74
monochromatic
#653391 #8445BD #A272CD #C09FDD #DECCED
Accessibility & contrast
On white
3.61
#A272CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#A272CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272CD
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272CD | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6887CB
Tritanopia (blue-blind)
#9C8196
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a272cd; /* rgb */ color: rgb(162, 114, 205); /* oklch */ color: oklch(63.7% 0.140 307.2);
Tailwind
colors: {
custom: {
50: '#bf9bdc',
500: '#a272cd',
950: '#000000',
},
}SCSS
$custom: #a272cd; $custom-light: #bf9bdc; $custom-dark: #000000;
JSON
{
"hex": "#a272cd",
"rgb": {
"r": 162,
"g": 114,
"b": 205
},
"hsl": {
"h": 271.648,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.63732,
"c": 0.14032,
"h": 307.2
},
"luminance": 0.24124
}Semantic roles & 50–950 ramp
primary
#A272CD
secondary
#CCDEBD
accent
#BB2B6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83