#A273CD#A273CD
#A273CD is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.139 H 307.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A273CD |
|---|---|
| RGB | rgb(162, 115, 205) |
| HSL | hsl(271, 47%, 63%) |
| HSV | hsv(271, 44%, 80%) |
| CMYK | cmyk(21%, 43.9%, 0%, 19.6%) |
| CIE-LAB | lab(56.44, 35.78, -39.76) |
| CIE-LCH | lch(56.44, 53.49, 311.98°) |
| OKLab | oklab(63.9% 0.0834 -0.1108) |
| OKLCH | oklch(63.9% 0.139 307) |
| XYZ | xyz(32.0483, 24.3509, 60.7576) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.50
Wisteria
#A87DC2
ΔE00 4.68
Mediumpurple
#9370DB
ΔE00 4.85
Soft Purple
#A66FB5
ΔE00 5.42
Amethyst
#9B5FC0
ΔE00 6.09
Light Urple
#B36FF6
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A273CD #9ECD73
analogous
#7573CD #A273CD #CD73CB
triadic
#A273CD #CDA273 #73CDA2
tetradic
#A273CD #CD7573 #9ECD73 #73CBCD
square
#A273CD #CD7573 #9ECD73 #73CBCD
split-complementary
#A273CD #CBCD73 #73CD75
monochromatic
#653492 #8446BD #A273CD #C0A0DD #DECDED
Accessibility & contrast
On white
3.58
#A273CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#A273CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A273CD
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A273CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A273CD | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D86D0
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#9C8196
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a273cd; /* rgb */ color: rgb(162, 115, 205); /* oklch */ color: oklch(63.9% 0.139 307.0);
Tailwind
colors: {
custom: {
50: '#bf9cdc',
500: '#a273cd',
950: '#000000',
},
}SCSS
$custom: #a273cd; $custom-light: #bf9cdc; $custom-dark: #000000;
JSON
{
"hex": "#a273cd",
"rgb": {
"r": 162,
"g": 115,
"b": 205
},
"hsl": {
"h": 271.333,
"s": 47.368,
"l": 62.745
},
"oklch": {
"l": 0.63902,
"c": 0.13865,
"h": 307
},
"luminance": 0.24351
}Semantic roles & 50–950 ramp
primary
#A273CD
secondary
#CDDEBE
accent
#BB2B70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83