#A159F2#A159F2
#A159F2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.221 H 302.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A159F2 |
|---|---|
| RGB | rgb(161, 89, 242) |
| HSL | hsl(268, 85%, 65%) |
| HSV | hsv(268, 63%, 95%) |
| CMYK | cmyk(33.5%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(53.09, 58.13, -65.93) |
| CIE-LCH | lch(53.09, 87.90, 311.40°) |
| OKLab | oklab(62.09% 0.1168 -0.1872) |
| OKLCH | oklch(62.09% 0.221 302) |
| XYZ | xyz(34.2936, 21.1325, 86.2595) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 0.82
Lightish Purple
#A552E6
ΔE00 2.57
Purpley
#8756E4
ΔE00 5.15
Light Urple
#B36FF6
ΔE00 6.39
Mediumpurple
#9370DB
ΔE00 6.69
Bright Lavender
#C760FF
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159F2 #AAF259
analogous
#595EF2 #A159F2 #ED59F2
triadic
#A159F2 #F2A159 #59F2A1
tetradic
#A159F2 #F2595E #AAF259 #59F2ED
square
#A159F2 #F2595E #AAF259 #59F2ED
split-complementary
#A159F2 #F2ED59 #5EF259
monochromatic
#630FC1 #8120EE #A159F2 #C192F6 #E1CBFB
Accessibility & contrast
On white
4.02
#A159F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#A159F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159F2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159F2 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#917A9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a159f2; /* rgb */ color: rgb(161, 89, 242); /* oklch */ color: oklch(62.1% 0.221 302.0);
Tailwind
colors: {
custom: {
50: '#c28cf7',
500: '#a159f2',
950: '#000000',
},
}SCSS
$custom: #a159f2; $custom-light: #c28cf7; $custom-dark: #000000;
JSON
{
"hex": "#a159f2",
"rgb": {
"r": 161,
"g": 89,
"b": 242
},
"hsl": {
"h": 268.235,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.62085,
"c": 0.22069,
"h": 302
},
"luminance": 0.21133
}Semantic roles & 50–950 ramp
primary
#A159F2
secondary
#D5EDB9
accent
#E20479
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85