#A277CD#A277CD
#A277CD is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.6% C 0.132 H 306.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A277CD |
|---|---|
| RGB | rgb(162, 119, 205) |
| HSL | hsl(270, 46%, 64%) |
| HSV | hsv(270, 42%, 80%) |
| CMYK | cmyk(21%, 42%, 0%, 19.6%) |
| CIE-LAB | lab(57.35, 33.52, -38.33) |
| CIE-LCH | lch(57.35, 50.92, 311.17°) |
| OKLab | oklab(64.59% 0.0777 -0.1066) |
| OKLCH | oklch(64.59% 0.132 306.1) |
| XYZ | xyz(32.5143, 25.2830, 60.9130) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.91
Deep Lilac
#966EBD
ΔE00 3.98
Mediumpurple
#9370DB
ΔE00 5.25
Soft Purple
#A66FB5
ΔE00 5.63
Light Urple
#B36FF6
ΔE00 7.10
Amethyst
#9B5FC0
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A277CD #A2CD77
analogous
#7777CD #A277CD #CD77CD
triadic
#A277CD #CDA277 #77CDA2
tetradic
#A277CD #CD7777 #A2CD77 #77CDCD
square
#A277CD #CD7777 #A2CD77 #77CDCD
split-complementary
#A277CD #CDCD77 #77CD77
monochromatic
#653693 #834ABD #A277CD #C1A4DD #DFD0EE
Accessibility & contrast
On white
3.47
#A277CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#A277CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A277CD
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A277CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A277CD | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#9C8598
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a277cd; /* rgb */ color: rgb(162, 119, 205); /* oklch */ color: oklch(64.6% 0.132 306.1);
Tailwind
colors: {
custom: {
50: '#bf9fdc',
500: '#a277cd',
950: '#000000',
},
}SCSS
$custom: #a277cd; $custom-light: #bf9fdc; $custom-dark: #000000;
JSON
{
"hex": "#a277cd",
"rgb": {
"r": 162,
"g": 119,
"b": 205
},
"hsl": {
"h": 270,
"s": 46.237,
"l": 63.529
},
"oklch": {
"l": 0.64588,
"c": 0.13194,
"h": 306.1
},
"luminance": 0.25283
}Semantic roles & 50–950 ramp
primary
#A277CD
secondary
#D0DFC1
accent
#B92C73
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83