#A182F5#A182F5
#A182F5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.166 H 294.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A182F5 |
|---|---|
| RGB | rgb(161, 130, 245) |
| HSL | hsl(256, 85%, 74%) |
| HSV | hsv(256, 47%, 96%) |
| CMYK | cmyk(34.3%, 46.9%, 0%, 3.9%) |
| CIE-LAB | lab(61.77, 36.83, -53.70) |
| CIE-LCH | lch(61.77, 65.11, 304.45°) |
| OKLab | oklab(68.54% 0.0674 -0.1514) |
| OKLCH | oklch(68.54% 0.166 294) |
| XYZ | xyz(39.1578, 30.1342, 90.1219) |
| Luminance | 0.3014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.24
Lavender Blue
#8B88F8
ΔE00 5.32
Perrywinkle
#8F8CE7
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 6.12
Mediumpurple
#9370DB
ΔE00 6.35
Light Purple
#BF77F6
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A182F5 #D6F582
analogous
#829CF5 #A182F5 #DA82F5
triadic
#A182F5 #F5A182 #82F5A1
tetradic
#A182F5 #F5829C #D6F582 #82F5DA
square
#A182F5 #F5829C #D6F582 #82F5DA
split-complementary
#A182F5 #F5DA82 #9CF582
monochromatic
#4D13EA #7649F0 #A182F5 #CCBBFA #EAE3FD
Accessibility & contrast
On white
2.99
#A182F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#A182F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A182F5
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A182F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A182F5 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A96F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a182f5; /* rgb */ color: rgb(161, 130, 245); /* oklch */ color: oklch(68.5% 0.166 294.0);
Tailwind
colors: {
custom: {
50: '#c0a7f9',
500: '#a182f5',
950: '#000000',
},
}SCSS
$custom: #a182f5; $custom-light: #c0a7f9; $custom-dark: #000000;
JSON
{
"hex": "#a182f5",
"rgb": {
"r": 161,
"g": 130,
"b": 245
},
"hsl": {
"h": 256.174,
"s": 85.185,
"l": 73.529
},
"oklch": {
"l": 0.68536,
"c": 0.16573,
"h": 294
},
"luminance": 0.30135
}Semantic roles & 50–950 ramp
primary
#A182F5
secondary
#EDF5D6
accent
#E204A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85