#A950E2#A950E2
#A950E2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.8% C 0.218 H 309.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A950E2 |
|---|---|
| RGB | rgb(169, 80, 226) |
| HSL | hsl(277, 72%, 60%) |
| HSV | hsv(277, 65%, 89%) |
| CMYK | cmyk(25.2%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(51.46, 60.51, -59.54) |
| CIE-LCH | lch(51.46, 84.89, 315.46°) |
| OKLab | oklab(60.79% 0.1382 -0.1682) |
| OKLCH | oklch(60.79% 0.218 309.4) |
| XYZ | xyz(32.9556, 19.6639, 73.9962) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.07
Lighter Purple
#A55AF4
ΔE00 3.67
Mediumorchid
#BA55D3
ΔE00 4.86
Amethyst
#9B5FC0
ΔE00 6.15
Neon Purple
#BC13FE
ΔE00 6.20
Purpley
#8756E4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A950E2 #89E250
analogous
#6050E2 #A950E2 #E250D2
triadic
#A950E2 #E2A950 #50E2A9
tetradic
#A950E2 #E26050 #89E250 #50D2E2
square
#A950E2 #E26050 #89E250 #50D2E2
split-complementary
#A950E2 #D2E250 #50E260
monochromatic
#6A1A9E #8E23D2 #A950E2 #C384EB #DDB9F3
Accessibility & contrast
On white
4.26
#A950E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#A950E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A950E2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A950E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A950E2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#A16E92
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a950e2; /* rgb */ color: rgb(169, 80, 226); /* oklch */ color: oklch(60.8% 0.218 309.4);
Tailwind
colors: {
custom: {
50: '#c787ec',
500: '#a950e2',
950: '#000000',
},
}SCSS
$custom: #a950e2; $custom-light: #c787ec; $custom-dark: #000000;
JSON
{
"hex": "#a950e2",
"rgb": {
"r": 169,
"g": 80,
"b": 226
},
"hsl": {
"h": 276.575,
"s": 71.569,
"l": 60
},
"oklch": {
"l": 0.60786,
"c": 0.21767,
"h": 309.4
},
"luminance": 0.19663
}Semantic roles & 50–950 ramp
primary
#A950E2
secondary
#C1E3AB
accent
#EE3980
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84