#A272F4#A272F4
#A272F4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.188 H 298.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A272F4 |
|---|---|
| RGB | rgb(162, 114, 244) |
| HSL | hsl(262, 86%, 70%) |
| HSV | hsv(262, 53%, 96%) |
| CMYK | cmyk(33.6%, 53.3%, 0%, 4.3%) |
| CIE-LAB | lab(58.27, 45.75, -58.72) |
| CIE-LCH | lch(58.27, 74.43, 307.92°) |
| OKLab | oklab(65.93% 0.0887 -0.1661) |
| OKLCH | oklch(65.93% 0.188 298.1) |
| XYZ | xyz(37.2427, 26.2472, 88.6745) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.20
Mediumpurple
#9370DB
ΔE00 4.28
Easter Purple
#C071FE
ΔE00 5.32
Light Purple
#BF77F6
ΔE00 5.59
Lighter Purple
#A55AF4
ΔE00 5.68
Periwinkle (survey)
#8E82FE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A272F4 #C4F472
analogous
#7283F4 #A272F4 #E372F4
triadic
#A272F4 #F4A272 #72F4A2
tetradic
#A272F4 #F47283 #C4F472 #72F4E3
square
#A272F4 #F47283 #C4F472 #72F4E3
split-complementary
#A272F4 #F4E372 #83F472
monochromatic
#5B11DB #7D39F0 #A272F4 #C7ABF8 #ECE3FD
Accessibility & contrast
On white
3.36
#A272F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#A272F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A272F4
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A272F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A272F4 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#908CA8
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a272f4; /* rgb */ color: rgb(162, 114, 244); /* oklch */ color: oklch(65.9% 0.188 298.1);
Tailwind
colors: {
custom: {
50: '#c19cf8',
500: '#a272f4',
950: '#000000',
},
}SCSS
$custom: #a272f4; $custom-light: #c19cf8; $custom-dark: #000000;
JSON
{
"hex": "#a272f4",
"rgb": {
"r": 162,
"g": 114,
"b": 244
},
"hsl": {
"h": 262.154,
"s": 85.526,
"l": 70.196
},
"oklch": {
"l": 0.65934,
"c": 0.18827,
"h": 298.1
},
"luminance": 0.26248
}Semantic roles & 50–950 ramp
primary
#A272F4
secondary
#E6F3CF
accent
#E20390
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85