#A276DB#A276DB
#A276DB is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.1% C 0.151 H 302.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A276DB |
|---|---|
| RGB | rgb(162, 118, 219) |
| HSL | hsl(266, 58%, 66%) |
| HSV | hsv(266, 46%, 86%) |
| CMYK | cmyk(26%, 46.1%, 0%, 14.1%) |
| CIE-LAB | lab(57.80, 37.39, -45.51) |
| CIE-LCH | lch(57.80, 58.90, 309.40°) |
| OKLab | oklab(65.15% 0.0813 -0.1275) |
| OKLCH | oklch(65.15% 0.151 302.5) |
| XYZ | xyz(34.1621, 25.7527, 70.1751) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.55
Light Urple
#B36FF6
ΔE00 4.95
Deep Lilac
#966EBD
ΔE00 5.63
Light Purple
#BF77F6
ΔE00 5.97
Wisteria
#A87DC2
ΔE00 6.37
Easter Purple
#C071FE
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A276DB #AFDB76
analogous
#767CDB #A276DB #D576DB
triadic
#A276DB #DBA276 #76DBA2
tetradic
#A276DB #DB767C #AFDB76 #76DBD5
square
#A276DB #DB767C #AFDB76 #76DBD5
split-complementary
#A276DB #DBD576 #7CDB76
monochromatic
#632DAA #8146CE #A276DB #C3A6E8 #E4D7F4
Accessibility & contrast
On white
3.41
#A276DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#A276DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A276DB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A276DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A276DB | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#648BD8
Tritanopia (blue-blind)
#98889E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a276db; /* rgb */ color: rgb(162, 118, 219); /* oklch */ color: oklch(65.1% 0.151 302.5);
Tailwind
colors: {
custom: {
50: '#c09ee6',
500: '#a276db',
950: '#000000',
},
}SCSS
$custom: #a276db; $custom-light: #c09ee6; $custom-dark: #000000;
JSON
{
"hex": "#a276db",
"rgb": {
"r": 162,
"g": 118,
"b": 219
},
"hsl": {
"h": 266.139,
"s": 58.382,
"l": 66.078
},
"oklch": {
"l": 0.65149,
"c": 0.1512,
"h": 302.5
},
"luminance": 0.25753
}Semantic roles & 50–950 ramp
primary
#A276DB
secondary
#D9E7C6
accent
#C6207D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84