#A270CA#A270CA
#A270CA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.140 H 308.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A270CA |
|---|---|
| RGB | rgb(162, 112, 202) |
| HSL | hsl(273, 46%, 62%) |
| HSV | hsv(273, 45%, 79%) |
| CMYK | cmyk(19.8%, 44.6%, 0%, 20.8%) |
| CIE-LAB | lab(55.62, 36.77, -39.35) |
| CIE-LCH | lch(55.62, 53.86, 313.06°) |
| OKLab | oklab(63.24% 0.0872 -0.1096) |
| OKLCH | oklch(63.24% 0.14 308.5) |
| XYZ | xyz(31.3531, 23.5344, 58.7566) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.03
Soft Purple
#A66FB5
ΔE00 4.86
Wisteria
#A87DC2
ΔE00 4.99
Mediumpurple
#9370DB
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.19
Light Urple
#B36FF6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A270CA #98CA70
analogous
#7570CA #A270CA #CA70C5
triadic
#A270CA #CAA270 #70CAA2
tetradic
#A270CA #CA7570 #98CA70 #70C5CA
square
#A270CA #CA7570 #98CA70 #70C5CA
split-complementary
#A270CA #C5CA70 #70CA75
monochromatic
#65348C #8544B8 #A270CA #BF9DDB #DCC9EB
Accessibility & contrast
On white
3.68
#A270CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#A270CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A270CA
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A270CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A270CA | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#9D7E93
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a270ca; /* rgb */ color: rgb(162, 112, 202); /* oklch */ color: oklch(63.2% 0.140 308.5);
Tailwind
colors: {
custom: {
50: '#bf9ada',
500: '#a270ca',
950: '#000000',
},
}SCSS
$custom: #a270ca; $custom-light: #bf9ada; $custom-dark: #000000;
JSON
{
"hex": "#a270ca",
"rgb": {
"r": 162,
"g": 112,
"b": 202
},
"hsl": {
"h": 273.333,
"s": 45.918,
"l": 61.569
},
"oklch": {
"l": 0.63241,
"c": 0.13999,
"h": 308.5
},
"luminance": 0.23534
}Semantic roles & 50–950 ramp
primary
#A270CA
secondary
#C9DCBA
accent
#B92C6B
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83