#A271BE#A271BE
#A271BE is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.8% C 0.124 H 312.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A271BE |
|---|---|
| RGB | rgb(162, 113, 190) |
| HSL | hsl(278, 37%, 59%) |
| HSV | hsv(278, 41%, 75%) |
| CMYK | cmyk(14.7%, 40.5%, 0%, 25.5%) |
| CIE-LAB | lab(55.29, 33.53, -33.02) |
| CIE-LCH | lch(55.29, 47.06, 315.44°) |
| OKLab | oklab(62.81% 0.0835 -0.0913) |
| OKLCH | oklch(62.81% 0.124 312.5) |
| XYZ | xyz(30.0981, 23.2099, 51.5996) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.49
Deep Lilac
#966EBD
ΔE00 2.90
Wisteria
#A87DC2
ΔE00 3.72
Dark Lilac
#9C6DA5
ΔE00 5.32
Amethyst
#9B5FC0
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A271BE #8DBE71
analogous
#7C71BE #A271BE #BE71B4
triadic
#A271BE #BEA271 #71BEA2
tetradic
#A271BE #BE7C71 #8DBE71 #71B4BE
square
#A271BE #BE7C71 #8DBE71 #71B4BE
split-complementary
#A271BE #B4BE71 #71BE7C
monochromatic
#63397C #854CA6 #A271BE #BD9BD1 #D9C5E4
Accessibility & contrast
On white
3.72
#A271BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#A271BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A271BE
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A271BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A271BE | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6282C1
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#9F7C8E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a271be; /* rgb */ color: rgb(162, 113, 190); /* oklch */ color: oklch(62.8% 0.124 312.5);
Tailwind
colors: {
custom: {
50: '#bf9ad2',
500: '#a271be',
950: '#000000',
},
}SCSS
$custom: #a271be; $custom-light: #bf9ad2; $custom-dark: #000000;
JSON
{
"hex": "#a271be",
"rgb": {
"r": 162,
"g": 113,
"b": 190
},
"hsl": {
"h": 278.182,
"s": 37.198,
"l": 59.412
},
"oklch": {
"l": 0.6281,
"c": 0.12375,
"h": 312.5
},
"luminance": 0.23209
}Semantic roles & 50–950 ramp
primary
#A271BE
secondary
#C1D4B6
accent
#CD5B84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82