#B643AB#B643AB
#B643AB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 331.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B643AB |
|---|---|
| RGB | rgb(182, 67, 171) |
| HSL | hsl(306, 46%, 49%) |
| HSV | hsv(306, 63%, 71%) |
| CMYK | cmyk(0%, 63.2%, 6%, 28.6%) |
| CIE-LAB | lab(48.14, 58.80, -32.99) |
| CIE-LCH | lch(48.14, 67.42, 330.71°) |
| OKLab | oklab(57.77% 0.168 -0.0904) |
| OKLCH | oklch(57.77% 0.191 331.7) |
| XYZ | xyz(28.6492, 16.9018, 40.2736) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.51
Ugly Purple
#A442A0
ΔE00 3.78
Medium Purple
#9E43A2
ΔE00 4.82
Pinky Purple
#C94CBE
ΔE00 5.28
Barney
#AC1DB8
ΔE00 7.18
Purply
#983FB2
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B643AB #43B64E
analogous
#8843B6 #B643AB #B64372
triadic
#B643AB #ABB643 #43ABB6
tetradic
#B643AB #B68843 #43B64E #4372B6
square
#B643AB #B68843 #43B64E #4372B6
split-complementary
#B643AB #72B643 #43B688
monochromatic
#5D2257 #893381 #B643AB #C96DC0 #DA9AD4
Accessibility & contrast
On white
4.79
#B643AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B643AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B643AB
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B643AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B643AB | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#BD4E71
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b643ab; /* rgb */ color: rgb(182, 67, 171); /* oklch */ color: oklch(57.8% 0.191 331.7);
Tailwind
colors: {
custom: {
50: '#cf7fc4',
500: '#b643ab',
950: '#000000',
},
}SCSS
$custom: #b643ab; $custom-light: #cf7fc4; $custom-dark: #000000;
JSON
{
"hex": "#b643ab",
"rgb": {
"r": 182,
"g": 67,
"b": 171
},
"hsl": {
"h": 305.739,
"s": 46.185,
"l": 48.824
},
"oklch": {
"l": 0.5777,
"c": 0.19082,
"h": 331.7
},
"luminance": 0.169
}Semantic roles & 50–950 ramp
primary
#B643AB
secondary
#8FC694
accent
#D65F52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81