#AB63BA#AB63BA
#AB63BA is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.3% C 0.148 H 320.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AB63BA |
|---|---|
| RGB | rgb(171, 99, 186) |
| HSL | hsl(290, 39%, 56%) |
| HSV | hsv(290, 47%, 73%) |
| CMYK | cmyk(8.1%, 46.8%, 0%, 27.1%) |
| CIE-LAB | lab(53.09, 43.08, -34.08) |
| CIE-LCH | lch(53.09, 54.93, 321.65°) |
| OKLab | oklab(61.33% 0.1142 -0.0941) |
| OKLCH | oklch(61.33% 0.148 320.5) |
| XYZ | xyz(30.1183, 21.1279, 48.9364) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.77
Amethyst
#9B5FC0
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 5.32
Deep Lilac
#966EBD
ΔE00 5.75
Dark Lilac
#9C6DA5
ΔE00 6.04
Pinky Purple
#C94CBE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB63BA #72BA63
analogous
#7F63BA #AB63BA #BA639D
triadic
#AB63BA #BAAB63 #63BAAB
tetradic
#AB63BA #BA7F63 #72BA63 #639DBA
square
#AB63BA #BA7F63 #72BA63 #639DBA
split-complementary
#AB63BA #9DBA63 #63BA7F
monochromatic
#663271 #8C459B #AB63BA #C28DCD #D9B8E0
Accessibility & contrast
On white
4.02
#AB63BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#AB63BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB63BA
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB63BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB63BA | 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)
#567ABD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#AC6E86
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #ab63ba; /* rgb */ color: rgb(171, 99, 186); /* oklch */ color: oklch(61.3% 0.148 320.5);
Tailwind
colors: {
custom: {
50: '#c691cf',
500: '#ab63ba',
950: '#000000',
},
}SCSS
$custom: #ab63ba; $custom-light: #c691cf; $custom-dark: #000000;
JSON
{
"hex": "#ab63ba",
"rgb": {
"r": 171,
"g": 99,
"b": 186
},
"hsl": {
"h": 289.655,
"s": 38.667,
"l": 55.882
},
"oklch": {
"l": 0.61333,
"c": 0.14796,
"h": 320.5
},
"luminance": 0.21127
}Semantic roles & 50–950 ramp
primary
#AB63BA
secondary
#B1CEAA
accent
#CF596D
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82