#A282F5#A282F5
#A282F5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.166 H 294.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A282F5 |
|---|---|
| RGB | rgb(162, 130, 245) |
| HSL | hsl(257, 85%, 74%) |
| HSV | hsv(257, 47%, 96%) |
| CMYK | cmyk(33.9%, 46.9%, 0%, 3.9%) |
| CIE-LAB | lab(61.86, 37.08, -53.55) |
| CIE-LCH | lch(61.86, 65.14, 304.70°) |
| OKLab | oklab(68.63% 0.0686 -0.1509) |
| OKLCH | oklch(68.63% 0.166 294.4) |
| XYZ | xyz(39.3602, 30.2385, 90.1314) |
| Luminance | 0.3024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.43
Lavender Blue
#8B88F8
ΔE00 5.51
Perrywinkle
#8F8CE7
ΔE00 5.81
Light Urple
#B36FF6
ΔE00 5.98
Mediumpurple
#9370DB
ΔE00 6.38
Light Purple
#BF77F6
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A282F5 #D5F582
analogous
#829BF5 #A282F5 #DC82F5
triadic
#A282F5 #F5A282 #82F5A2
tetradic
#A282F5 #F5829B #D5F582 #82F5DC
square
#A282F5 #F5829B #D5F582 #82F5DC
split-complementary
#A282F5 #F5DC82 #9BF582
monochromatic
#4F13EA #7849F0 #A282F5 #CCBBFA #EAE3FD
Accessibility & contrast
On white
2.98
#A282F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#A282F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A282F5
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A282F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A282F5 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97F9
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#8F98B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a282f5; /* rgb */ color: rgb(162, 130, 245); /* oklch */ color: oklch(68.6% 0.166 294.4);
Tailwind
colors: {
custom: {
50: '#c1a7f9',
500: '#a282f5',
950: '#000000',
},
}SCSS
$custom: #a282f5; $custom-light: #c1a7f9; $custom-dark: #000000;
JSON
{
"hex": "#a282f5",
"rgb": {
"r": 162,
"g": 130,
"b": 245
},
"hsl": {
"h": 256.696,
"s": 85.185,
"l": 73.529
},
"oklch": {
"l": 0.68625,
"c": 0.1658,
"h": 294.4
},
"luminance": 0.30239
}Semantic roles & 50–950 ramp
primary
#A282F5
secondary
#ECF5D6
accent
#E204A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85