#A271FC#A271FC
#A271FC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.199 H 296.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A271FC |
|---|---|
| RGB | rgb(162, 113, 252) |
| HSL | hsl(261, 96%, 72%) |
| HSV | hsv(261, 55%, 99%) |
| CMYK | cmyk(35.7%, 55.2%, 0%, 1.2%) |
| CIE-LAB | lab(58.53, 48.30, -62.73) |
| CIE-LCH | lch(58.53, 79.17, 307.60°) |
| OKLab | oklab(66.27% 0.0901 -0.1779) |
| OKLCH | oklch(66.27% 0.199 296.9) |
| XYZ | xyz(38.3717, 26.5193, 95.1737) |
| Luminance | 0.2652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.50
Mediumpurple
#9370DB
ΔE00 5.16
Easter Purple
#C071FE
ΔE00 5.40
Lighter Purple
#A55AF4
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.95
Periwinkle (survey)
#8E82FE
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A271FC #CBFC71
analogous
#7186FC #A271FC #E871FC
triadic
#A271FC #FCA271 #71FCA2
tetradic
#A271FC #FC7186 #CBFC71 #71FCE8
square
#A271FC #FC7186 #CBFC71 #71FCE8
split-complementary
#A271FC #FCE871 #86FC71
monochromatic
#5705EE #7B35FB #A271FC #C9ADFD #EBE1FE
Accessibility & contrast
On white
3.33
#A271FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A271FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A271FC
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A271FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A271FC | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#8D8EAC
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a271fc; /* rgb */ color: rgb(162, 113, 252); /* oklch */ color: oklch(66.3% 0.199 296.9);
Tailwind
colors: {
custom: {
50: '#c29bfe',
500: '#a271fc',
950: '#000000',
},
}SCSS
$custom: #a271fc; $custom-light: #c29bfe; $custom-dark: #000000;
JSON
{
"hex": "#a271fc",
"rgb": {
"r": 162,
"g": 113,
"b": 252
},
"hsl": {
"h": 261.151,
"s": 95.862,
"l": 71.569
},
"oklch": {
"l": 0.66273,
"c": 0.19939,
"h": 296.9
},
"luminance": 0.2652
}Semantic roles & 50–950 ramp
primary
#A271FC
secondary
#EAF6D3
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86