#A950B7#A950B7
#A950B7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.175 H 322.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A950B7 |
|---|---|
| RGB | rgb(169, 80, 183) |
| HSL | hsl(292, 42%, 52%) |
| HSV | hsv(292, 56%, 72%) |
| CMYK | cmyk(7.7%, 56.3%, 0%, 28.2%) |
| CIE-LAB | lab(49.00, 51.64, -38.79) |
| CIE-LCH | lch(49.00, 64.59, 323.09°) |
| OKLab | oklab(58.21% 0.1379 -0.1076) |
| OKLCH | oklch(58.21% 0.175 322) |
| XYZ | xyz(27.7772, 17.5926, 46.7231) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.87
Medium Purple
#9E43A2
ΔE00 5.09
Ugly Purple
#A442A0
ΔE00 5.16
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley Pink
#C83CB9
ΔE00 5.71
Purply
#983FB2
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A950B7 #5EB750
analogous
#7650B7 #A950B7 #B75092
triadic
#A950B7 #B7A950 #50B7A9
tetradic
#A950B7 #B77650 #5EB750 #5092B7
square
#A950B7 #B77650 #5EB750 #5092B7
split-complementary
#A950B7 #92B750 #50B776
monochromatic
#5C2964 #843B8F #A950B7 #BE7BC9 #D4A7DB
Accessibility & contrast
On white
4.65
#A950B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#A950B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A950B7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A950B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A950B7 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#AB5F7C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a950b7; /* rgb */ color: rgb(169, 80, 183); /* oklch */ color: oklch(58.2% 0.175 322.0);
Tailwind
colors: {
custom: {
50: '#c585cd',
500: '#a950b7',
950: '#000000',
},
}SCSS
$custom: #a950b7; $custom-light: #c585cd; $custom-dark: #000000;
JSON
{
"hex": "#a950b7",
"rgb": {
"r": 169,
"g": 80,
"b": 183
},
"hsl": {
"h": 291.845,
"s": 41.7,
"l": 51.569
},
"oklch": {
"l": 0.5821,
"c": 0.17486,
"h": 322
},
"luminance": 0.17591
}Semantic roles & 50–950 ramp
primary
#A950B7
secondary
#A1C89B
accent
#D25667
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B13
muted
#827C82