#A181FB#A181FB
#A181FB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.175 H 293.3°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A181FB |
|---|---|
| RGB | rgb(161, 129, 251) |
| HSL | hsl(256, 94%, 75%) |
| HSV | hsv(256, 49%, 98%) |
| CMYK | cmyk(35.9%, 48.6%, 0%, 1.6%) |
| CIE-LAB | lab(61.86, 38.94, -56.85) |
| CIE-LCH | lch(61.86, 68.91, 304.41°) |
| OKLab | oklab(68.71% 0.0693 -0.1606) |
| OKLCH | oklch(68.71% 0.175 293.3) |
| XYZ | xyz(39.9562, 30.2418, 94.9802) |
| Luminance | 0.3024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.87
Lavender Blue
#8B88F8
ΔE00 5.24
Light Urple
#B36FF6
ΔE00 6.01
Perrywinkle
#8F8CE7
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.66
Light Purple
#BF77F6
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181FB #DBFB81
analogous
#819EFB #A181FB #DE81FB
triadic
#A181FB #FBA181 #81FBA1
tetradic
#A181FB #FB819E #DBFB81 #81FBDE
square
#A181FB #FB819E #DBFB81 #81FBDE
split-complementary
#A181FB #FBDE81 #9EFB81
monochromatic
#480AF7 #7546F9 #A181FB #CDBCFD #E9E1FE
Accessibility & contrast
On white
2.98
#A181FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#A181FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A181FB
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181FB | 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)
#5497FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#8B99B2
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a181fb; /* rgb */ color: rgb(161, 129, 251); /* oklch */ color: oklch(68.7% 0.175 293.3);
Tailwind
colors: {
custom: {
50: '#c1a6fd',
500: '#a181fb',
950: '#000000',
},
}SCSS
$custom: #a181fb; $custom-light: #c1a6fd; $custom-dark: #000000;
JSON
{
"hex": "#a181fb",
"rgb": {
"r": 161,
"g": 129,
"b": 251
},
"hsl": {
"h": 255.738,
"s": 93.846,
"l": 74.51
},
"oklch": {
"l": 0.68709,
"c": 0.17494,
"h": 293.3
},
"luminance": 0.30243
}Semantic roles & 50–950 ramp
primary
#A181FB
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86