#A272EF#A272EF
#A272EF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.182 H 299.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A272EF |
|---|---|
| RGB | rgb(162, 114, 239) |
| HSL | hsl(263, 80%, 69%) |
| HSV | hsv(263, 52%, 94%) |
| CMYK | cmyk(32.2%, 52.3%, 0%, 6.3%) |
| CIE-LAB | lab(57.99, 44.50, -56.40) |
| CIE-LCH | lch(57.99, 71.84, 308.28°) |
| OKLab | oklab(65.63% 0.0884 -0.1593) |
| OKLCH | oklch(65.63% 0.182 299) |
| XYZ | xyz(36.4938, 25.9477, 84.7304) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.16
Mediumpurple
#9370DB
ΔE00 3.78
Easter Purple
#C071FE
ΔE00 5.38
Light Purple
#BF77F6
ΔE00 5.49
Lighter Purple
#A55AF4
ΔE00 5.68
Periwinkle (survey)
#8E82FE
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272EF #BFEF72
analogous
#7281EF #A272EF #E172EF
triadic
#A272EF #EFA272 #72EFA2
tetradic
#A272EF #EF7281 #BFEF72 #72EFE1
square
#A272EF #EF7281 #BFEF72 #72EFE1
split-complementary
#A272EF #EFE172 #81EF72
monochromatic
#5E18CF #7E3BE9 #A272EF #C6A9F5 #EBE0FB
Accessibility & contrast
On white
3.39
#A272EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#A272EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272EF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272EF | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#928AA6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a272ef; /* rgb */ color: rgb(162, 114, 239); /* oklch */ color: oklch(65.6% 0.182 299.0);
Tailwind
colors: {
custom: {
50: '#c19cf5',
500: '#a272ef',
950: '#000000',
},
}SCSS
$custom: #a272ef; $custom-light: #c19cf5; $custom-dark: #000000;
JSON
{
"hex": "#a272ef",
"rgb": {
"r": 162,
"g": 114,
"b": 239
},
"hsl": {
"h": 263.04,
"s": 79.618,
"l": 69.216
},
"oklch": {
"l": 0.65633,
"c": 0.18217,
"h": 299
},
"luminance": 0.25948
}Semantic roles & 50–950 ramp
primary
#A272EF
secondary
#E3F1CC
accent
#DC0A8B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85