#A281BB#A281BB
#A281BB is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.5% C 0.092 H 310.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A281BB |
|---|---|
| RGB | rgb(162, 129, 187) |
| HSL | hsl(274, 30%, 62%) |
| HSV | hsv(274, 31%, 73%) |
| CMYK | cmyk(13.4%, 31%, 0%, 26.7%) |
| CIE-LAB | lab(58.95, 23.77, -25.63) |
| CIE-LCH | lch(58.95, 34.96, 312.84°) |
| OKLab | oklab(65.54% 0.0589 -0.0703) |
| OKLCH | oklch(65.54% 0.092 310) |
| XYZ | xyz(31.7186, 26.9701, 50.5389) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.61
Heather
#A484AC
ΔE00 4.84
Soft Purple
#A66FB5
ΔE00 5.88
Pale Purple
#B790D4
ΔE00 5.96
Dark Lilac
#9C6DA5
ΔE00 6.93
Deep Lilac
#966EBD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A281BB #9ABB81
analogous
#8581BB #A281BB #BB81B7
triadic
#A281BB #BBA281 #81BBA2
tetradic
#A281BB #BB8581 #9ABB81 #81B7BB
square
#A281BB #BB8581 #9ABB81 #81B7BB
split-complementary
#A281BB #B7BB81 #81BB85
monochromatic
#65447E #8559A5 #A281BB #BFA9D0 #DDD0E6
Accessibility & contrast
On white
3.28
#A281BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#A281BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A281BB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A281BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A281BB | 1.00 | 3.28 | 6.39 | 6.39 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778CBD
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#9F8996
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a281bb; /* rgb */ color: rgb(162, 129, 187); /* oklch */ color: oklch(65.5% 0.092 310.0);
Tailwind
colors: {
custom: {
50: '#bea6cf',
500: '#a281bb',
950: '#000000',
},
}SCSS
$custom: #a281bb; $custom-light: #bea6cf; $custom-dark: #000000;
JSON
{
"hex": "#a281bb",
"rgb": {
"r": 162,
"g": 129,
"b": 187
},
"hsl": {
"h": 274.138,
"s": 29.897,
"l": 61.961
},
"oklch": {
"l": 0.65544,
"c": 0.09171,
"h": 310
},
"luminance": 0.2697
}Semantic roles & 50–950 ramp
primary
#A281BB
secondary
#CAD7C1
accent
#A93D6B
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#120F14
muted
#817F82