#A270BE#A270BE
#A270BE is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.6% C 0.125 H 312.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A270BE |
|---|---|
| RGB | rgb(162, 112, 190) |
| HSL | hsl(278, 38%, 59%) |
| HSV | hsv(278, 41%, 75%) |
| CMYK | cmyk(14.7%, 41.1%, 0%, 25.5%) |
| CIE-LAB | lab(55.06, 34.09, -33.37) |
| CIE-LCH | lch(55.06, 47.71, 315.61°) |
| OKLab | oklab(62.64% 0.085 -0.0923) |
| OKLCH | oklch(62.64% 0.125 312.6) |
| XYZ | xyz(29.9872, 22.9880, 51.5626) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.49
Deep Lilac
#966EBD
ΔE00 2.82
Wisteria
#A87DC2
ΔE00 4.01
Dark Lilac
#9C6DA5
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 5.46
Deep Lavender
#8D5EB7
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A270BE #8CBE70
analogous
#7B70BE #A270BE #BE70B3
triadic
#A270BE #BEA270 #70BEA2
tetradic
#A270BE #BE7B70 #8CBE70 #70B3BE
square
#A270BE #BE7B70 #8CBE70 #70B3BE
split-complementary
#A270BE #B3BE70 #70BE7B
monochromatic
#63387B #854BA6 #A270BE #BD9AD1 #D9C4E4
Accessibility & contrast
On white
3.75
#A270BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#A270BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A270BE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A270BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A270BE | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#6E85BC
Tritanopia (blue-blind)
#A07B8E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a270be; /* rgb */ color: rgb(162, 112, 190); /* oklch */ color: oklch(62.6% 0.125 312.6);
Tailwind
colors: {
custom: {
50: '#bf9ad2',
500: '#a270be',
950: '#000000',
},
}SCSS
$custom: #a270be; $custom-light: #bf9ad2; $custom-dark: #000000;
JSON
{
"hex": "#a270be",
"rgb": {
"r": 162,
"g": 112,
"b": 190
},
"hsl": {
"h": 278.462,
"s": 37.5,
"l": 59.216
},
"oklch": {
"l": 0.62638,
"c": 0.12549,
"h": 312.6
},
"luminance": 0.22987
}Semantic roles & 50–950 ramp
primary
#A270BE
secondary
#C1D4B6
accent
#CD5A84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82