#B747AB#B747AB
#B747AB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.186 H 332.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B747AB |
|---|---|
| RGB | rgb(183, 71, 171) |
| HSL | hsl(306, 44%, 50%) |
| HSV | hsv(306, 61%, 72%) |
| CMYK | cmyk(0%, 61.2%, 6.6%, 28.2%) |
| CIE-LAB | lab(48.90, 57.36, -31.77) |
| CIE-LCH | lch(48.90, 65.57, 331.02°) |
| OKLab | oklab(58.36% 0.1642 -0.087) |
| OKLCH | oklch(58.36% 0.186 332.1) |
| XYZ | xyz(29.1323, 17.5162, 40.3668) |
| Luminance | 0.1751 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.35
Ugly Purple
#A442A0
ΔE00 4.38
Pinky Purple
#C94CBE
ΔE00 4.69
Medium Purple
#9E43A2
ΔE00 5.42
Mediumorchid
#BA55D3
ΔE00 7.56
Purply
#983FB2
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B747AB #47B753
analogous
#8B47B7 #B747AB #B74773
triadic
#B747AB #ABB747 #47ABB7
tetradic
#B747AB #B78B47 #47B753 #4773B7
square
#B747AB #B78B47 #47B753 #4773B7
split-complementary
#B747AB #73B747 #47B78B
monochromatic
#5F2559 #8B3682 #B747AB #C973BF #DA9FD3
Accessibility & contrast
On white
4.66
#B747AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#B747AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B747AB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B747AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B747AB | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#677AA8
Tritanopia (blue-blind)
#BE5172
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #b747ab; /* rgb */ color: rgb(183, 71, 171); /* oklch */ color: oklch(58.4% 0.186 332.1);
Tailwind
colors: {
custom: {
50: '#cf81c4',
500: '#b747ab',
950: '#000000',
},
}SCSS
$custom: #b747ab; $custom-light: #cf81c4; $custom-dark: #000000;
JSON
{
"hex": "#b747ab",
"rgb": {
"r": 183,
"g": 71,
"b": 171
},
"hsl": {
"h": 306.429,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.5836,
"c": 0.18581,
"h": 332.1
},
"luminance": 0.17514
}Semantic roles & 50–950 ramp
primary
#B747AB
secondary
#94C699
accent
#D46254
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81