#A270F9#A270F9
#A270F9 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.197 H 297.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A270F9 |
|---|---|
| RGB | rgb(162, 112, 249) |
| HSL | hsl(262, 92%, 71%) |
| HSV | hsv(262, 55%, 98%) |
| CMYK | cmyk(34.9%, 55%, 0%, 2.4%) |
| CIE-LAB | lab(58.14, 48.09, -61.70) |
| CIE-LCH | lch(58.14, 78.22, 307.94°) |
| OKLab | oklab(65.93% 0.0913 -0.1748) |
| OKLCH | oklch(65.93% 0.197 297.6) |
| XYZ | xyz(37.7891, 26.1088, 92.6527) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.81
Lighter Purple
#A55AF4
ΔE00 5.28
Easter Purple
#C071FE
ΔE00 5.36
Light Purple
#BF77F6
ΔE00 5.88
Periwinkle (survey)
#8E82FE
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A270F9 #C7F970
analogous
#7082F9 #A270F9 #E770F9
triadic
#A270F9 #F9A270 #70F9A2
tetradic
#A270F9 #F97082 #C7F970 #70F9E7
square
#A270F9 #F97082 #C7F970 #70F9E7
split-complementary
#A270F9 #F9E770 #82F970
monochromatic
#5A0AE5 #7C35F7 #A270F9 #C8ABFB #ECE2FE
Accessibility & contrast
On white
3.38
#A270F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A270F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A270F9
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A270F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A270F9 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#8E8CAA
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a270f9; /* rgb */ color: rgb(162, 112, 249); /* oklch */ color: oklch(65.9% 0.197 297.6);
Tailwind
colors: {
custom: {
50: '#c29bfc',
500: '#a270f9',
950: '#000000',
},
}SCSS
$custom: #a270f9; $custom-light: #c29bfc; $custom-dark: #000000;
JSON
{
"hex": "#a270f9",
"rgb": {
"r": 162,
"g": 112,
"b": 249
},
"hsl": {
"h": 261.898,
"s": 91.946,
"l": 70.784
},
"oklch": {
"l": 0.65931,
"c": 0.19721,
"h": 297.6
},
"luminance": 0.26109
}Semantic roles & 50–950 ramp
primary
#A270F9
secondary
#E7F5D0
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86