#A276CB#A276CB
#A276CB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.131 H 306.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A276CB |
|---|---|
| RGB | rgb(162, 118, 203) |
| HSL | hsl(271, 45%, 63%) |
| HSV | hsv(271, 42%, 80%) |
| CMYK | cmyk(20.2%, 41.9%, 0%, 20.4%) |
| CIE-LAB | lab(57.03, 33.63, -37.70) |
| CIE-LCH | lch(57.03, 50.52, 311.73°) |
| OKLab | oklab(64.31% 0.0788 -0.1048) |
| OKLCH | oklch(64.31% 0.131 306.9) |
| XYZ | xyz(32.1561, 24.9503, 59.6102) |
| Luminance | 0.2495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.66
Wisteria
#A87DC2
ΔE00 3.77
Soft Purple
#A66FB5
ΔE00 5.20
Mediumpurple
#9370DB
ΔE00 5.45
Amethyst
#9B5FC0
ΔE00 6.87
Light Urple
#B36FF6
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276CB #9FCB76
analogous
#7776CB #A276CB #CB76C9
triadic
#A276CB #CBA276 #76CBA2
tetradic
#A276CB #CB7776 #9FCB76 #76C9CB
square
#A276CB #CB7776 #9FCB76 #76C9CB
split-complementary
#A276CB #C9CB76 #76CB77
monochromatic
#653790 #844ABA #A276CB #C0A2DC #DECFED
Accessibility & contrast
On white
3.51
#A276CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#A276CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276CB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276CB | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#9C8397
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a276cb; /* rgb */ color: rgb(162, 118, 203); /* oklch */ color: oklch(64.3% 0.131 306.9);
Tailwind
colors: {
custom: {
50: '#bf9edb',
500: '#a276cb',
950: '#000000',
},
}SCSS
$custom: #a276cb; $custom-light: #bf9edb; $custom-dark: #000000;
JSON
{
"hex": "#a276cb",
"rgb": {
"r": 162,
"g": 118,
"b": 203
},
"hsl": {
"h": 271.059,
"s": 44.974,
"l": 62.941
},
"oklch": {
"l": 0.64314,
"c": 0.13111,
"h": 306.9
},
"luminance": 0.2495
}Semantic roles & 50–950 ramp
primary
#A276CB
secondary
#CEDEBF
accent
#B82D70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83