#A282F6#A282F6
#A282F6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.167 H 294.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A282F6 |
|---|---|
| RGB | rgb(162, 130, 246) |
| HSL | hsl(257, 87%, 74%) |
| HSV | hsv(257, 47%, 96%) |
| CMYK | cmyk(34.1%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(61.91, 37.34, -54.02) |
| CIE-LCH | lch(61.91, 65.67, 304.66°) |
| OKLab | oklab(68.68% 0.0687 -0.1523) |
| OKLCH | oklch(68.68% 0.167 294.3) |
| XYZ | xyz(39.5132, 30.2997, 90.9375) |
| Luminance | 0.3030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.35
Lavender Blue
#8B88F8
ΔE00 5.46
Perrywinkle
#8F8CE7
ΔE00 5.83
Light Urple
#B36FF6
ΔE00 6.00
Mediumpurple
#9370DB
ΔE00 6.45
Light Purple
#BF77F6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A282F6 #D6F682
analogous
#829CF6 #A282F6 #DC82F6
triadic
#A282F6 #F6A282 #82F6A2
tetradic
#A282F6 #F6829C #D6F682 #82F6DC
square
#A282F6 #F6829C #D6F682 #82F6DC
split-complementary
#A282F6 #F6DC82 #9CF682
monochromatic
#4E11ED #7849F2 #A282F6 #CCBBFA #EAE2FD
Accessibility & contrast
On white
2.97
#A282F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#A282F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A282F6
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A282F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A282F6 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#8E98B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a282f6; /* rgb */ color: rgb(162, 130, 246); /* oklch */ color: oklch(68.7% 0.167 294.3);
Tailwind
colors: {
custom: {
50: '#c1a7fa',
500: '#a282f6',
950: '#000000',
},
}SCSS
$custom: #a282f6; $custom-light: #c1a7fa; $custom-dark: #000000;
JSON
{
"hex": "#a282f6",
"rgb": {
"r": 162,
"g": 130,
"b": 246
},
"hsl": {
"h": 256.552,
"s": 86.567,
"l": 73.725
},
"oklch": {
"l": 0.68681,
"c": 0.1671,
"h": 294.3
},
"luminance": 0.303
}Semantic roles & 50–950 ramp
primary
#A282F6
secondary
#ECF5D6
accent
#E302A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85