#A276BB#A276BB
#A276BB is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.5% C 0.111 H 312.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A276BB |
|---|---|
| RGB | rgb(162, 118, 187) |
| HSL | hsl(278, 34%, 60%) |
| HSV | hsv(278, 37%, 73%) |
| CMYK | cmyk(13.4%, 36.9%, 0%, 26.7%) |
| CIE-LAB | lab(56.31, 30.04, -29.70) |
| CIE-LCH | lch(56.31, 42.25, 315.32°) |
| OKLab | oklab(63.54% 0.0754 -0.0818) |
| OKLCH | oklch(63.54% 0.111 312.7) |
| XYZ | xyz(30.3469, 24.2266, 50.0816) |
| Luminance | 0.2423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.34
Soft Purple
#A66FB5
ΔE00 2.66
Deep Lilac
#966EBD
ΔE00 4.01
Dark Lilac
#9C6DA5
ΔE00 4.94
Heather
#A484AC
ΔE00 7.44
Amethyst
#9B5FC0
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276BB #8FBB76
analogous
#8076BB #A276BB #BB76B2
triadic
#A276BB #BBA276 #76BBA2
tetradic
#A276BB #BB8076 #8FBB76 #76B2BB
square
#A276BB #BB8076 #8FBB76 #76B2BB
split-complementary
#A276BB #B2BB76 #76BB80
monochromatic
#643D7A #8551A3 #A276BB #BE9FCF #DAC8E4
Accessibility & contrast
On white
3.59
#A276BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#A276BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276BB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276BB | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A85BE
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#A07F90
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a276bb; /* rgb */ color: rgb(162, 118, 187); /* oklch */ color: oklch(63.5% 0.111 312.7);
Tailwind
colors: {
custom: {
50: '#be9ecf',
500: '#a276bb',
950: '#000000',
},
}SCSS
$custom: #a276bb; $custom-light: #be9ecf; $custom-dark: #000000;
JSON
{
"hex": "#a276bb",
"rgb": {
"r": 162,
"g": 118,
"b": 187
},
"hsl": {
"h": 278.261,
"s": 33.659,
"l": 59.804
},
"oklch": {
"l": 0.63542,
"c": 0.11129,
"h": 312.7
},
"luminance": 0.24226
}Semantic roles & 50–950 ramp
primary
#A276BB
secondary
#C3D4B9
accent
#CA5E85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82