#A270F6#A270F6
#A270F6 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.194 H 298.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A270F6 |
|---|---|
| RGB | rgb(162, 112, 246) |
| HSL | hsl(262, 88%, 70%) |
| HSV | hsv(262, 54%, 96%) |
| CMYK | cmyk(34.1%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(57.96, 47.34, -60.32) |
| CIE-LCH | lch(57.96, 76.68, 308.13°) |
| OKLab | oklab(65.75% 0.0912 -0.1708) |
| OKLCH | oklch(65.75% 0.194 298.1) |
| XYZ | xyz(37.3249, 25.9231, 90.2081) |
| Luminance | 0.2592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.18
Mediumpurple
#9370DB
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 5.20
Easter Purple
#C071FE
ΔE00 5.34
Light Purple
#BF77F6
ΔE00 5.78
Bright Lavender
#C760FF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A270F6 #C4F670
analogous
#7081F6 #A270F6 #E570F6
triadic
#A270F6 #F6A270 #70F6A2
tetradic
#A270F6 #F67081 #C4F670 #70F6E5
square
#A270F6 #F67081 #C4F670 #70F6E5
split-complementary
#A270F6 #F6E570 #81F670
monochromatic
#5B0EDE #7D36F2 #A270F6 #C7AAFA #ECE2FD
Accessibility & contrast
On white
3.40
#A270F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#A270F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A270F6
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A270F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A270F6 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#8F8BA8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a270f6; /* rgb */ color: rgb(162, 112, 246); /* oklch */ color: oklch(65.7% 0.194 298.1);
Tailwind
colors: {
custom: {
50: '#c29afa',
500: '#a270f6',
950: '#000000',
},
}SCSS
$custom: #a270f6; $custom-light: #c29afa; $custom-dark: #000000;
JSON
{
"hex": "#a270f6",
"rgb": {
"r": 162,
"g": 112,
"b": 246
},
"hsl": {
"h": 262.388,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.65745,
"c": 0.1936,
"h": 298.1
},
"luminance": 0.25924
}Semantic roles & 50–950 ramp
primary
#A270F6
secondary
#E6F3CE
accent
#E50190
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85