#A270BB#A270BB
#A270BB is a light, vivid purple. Relative luminance 0.229; OKLCH L 62.5% C 0.122 H 313.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A270BB |
|---|---|
| RGB | rgb(162, 112, 187) |
| HSL | hsl(280, 36%, 59%) |
| HSV | hsv(280, 40%, 73%) |
| CMYK | cmyk(13.4%, 40.1%, 0%, 26.7%) |
| CIE-LAB | lab(54.93, 33.44, -31.86) |
| CIE-LCH | lch(54.93, 46.19, 316.38°) |
| OKLab | oklab(62.49% 0.0844 -0.088) |
| OKLCH | oklch(62.49% 0.122 313.8) |
| XYZ | xyz(29.6626, 22.8582, 49.8536) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 1.90
Deep Lilac
#966EBD
ΔE00 3.11
Wisteria
#A87DC2
ΔE00 3.97
Dark Lilac
#9C6DA5
ΔE00 4.71
Amethyst
#9B5FC0
ΔE00 5.73
Deep Lavender
#8D5EB7
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A270BB #89BB70
analogous
#7C70BB #A270BB #BB70AE
triadic
#A270BB #BBA270 #70BBA2
tetradic
#A270BB #BB7C70 #89BB70 #70AEBB
square
#A270BB #BB7C70 #89BB70 #70AEBB
split-complementary
#A270BB #AEBB70 #70BB7C
monochromatic
#633978 #854DA1 #A270BB #BD99CF #D8C3E2
Accessibility & contrast
On white
3.77
#A270BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#A270BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A270BB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A270BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A270BB | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#A07A8D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a270bb; /* rgb */ color: rgb(162, 112, 187); /* oklch */ color: oklch(62.5% 0.122 313.8);
Tailwind
colors: {
custom: {
50: '#bf9acf',
500: '#a270bb',
950: '#000000',
},
}SCSS
$custom: #a270bb; $custom-light: #bf9acf; $custom-dark: #000000;
JSON
{
"hex": "#a270bb",
"rgb": {
"r": 162,
"g": 112,
"b": 187
},
"hsl": {
"h": 280,
"s": 35.545,
"l": 58.627
},
"oklch": {
"l": 0.62493,
"c": 0.12191,
"h": 313.8
},
"luminance": 0.22858
}Semantic roles & 50–950 ramp
primary
#A270BB
secondary
#BED2B5
accent
#CC5C81
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82