#A271BF#A271BF
#A271BF is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.9% C 0.125 H 312.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A271BF |
|---|---|
| RGB | rgb(162, 113, 191) |
| HSL | hsl(278, 38%, 60%) |
| HSV | hsv(278, 41%, 75%) |
| CMYK | cmyk(15.2%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(55.33, 33.75, -33.52) |
| CIE-LCH | lch(55.33, 47.57, 315.19°) |
| OKLab | oklab(62.86% 0.0837 -0.0927) |
| OKLCH | oklch(62.86% 0.125 312.1) |
| XYZ | xyz(30.2078, 23.2538, 52.1772) |
| Luminance | 0.2325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.69
Deep Lilac
#966EBD
ΔE00 2.82
Wisteria
#A87DC2
ΔE00 3.76
Dark Lilac
#9C6DA5
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.68
Mediumpurple
#9370DB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A271BF #8EBF71
analogous
#7B71BF #A271BF #BF71B5
triadic
#A271BF #BFA271 #71BFA2
tetradic
#A271BF #BF7B71 #8EBF71 #71B5BF
square
#A271BF #BF7B71 #8EBF71 #71B5BF
split-complementary
#A271BF #B5BF71 #71BF7B
monochromatic
#64387D #854BA7 #A271BF #BE9BD2 #D9C5E5
Accessibility & contrast
On white
3.72
#A271BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A271BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A271BF
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A271BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A271BF | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#9F7C8F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a271bf; /* rgb */ color: rgb(162, 113, 191); /* oklch */ color: oklch(62.9% 0.125 312.1);
Tailwind
colors: {
custom: {
50: '#bf9ad2',
500: '#a271bf',
950: '#000000',
},
}SCSS
$custom: #a271bf; $custom-light: #bf9ad2; $custom-dark: #000000;
JSON
{
"hex": "#a271bf",
"rgb": {
"r": 162,
"g": 113,
"b": 191
},
"hsl": {
"h": 277.692,
"s": 37.864,
"l": 59.608
},
"oklch": {
"l": 0.62858,
"c": 0.12495,
"h": 312.1
},
"luminance": 0.23253
}Semantic roles & 50–950 ramp
primary
#A271BF
secondary
#C2D5B7
accent
#CE5A85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82