#B643AA#B643AA
#B643AA is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.190 H 332.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B643AA |
|---|---|
| RGB | rgb(182, 67, 170) |
| HSL | hsl(306, 46%, 49%) |
| HSV | hsv(306, 63%, 71%) |
| CMYK | cmyk(0%, 63.2%, 6.6%, 28.6%) |
| CIE-LAB | lab(48.09, 58.63, -32.47) |
| CIE-LCH | lch(48.09, 67.02, 331.02°) |
| OKLab | oklab(57.72% 0.1679 -0.0889) |
| OKLCH | oklch(57.72% 0.19 332.1) |
| XYZ | xyz(28.5542, 16.8638, 39.7735) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.59
Ugly Purple
#A442A0
ΔE00 3.75
Medium Purple
#9E43A2
ΔE00 4.83
Pinky Purple
#C94CBE
ΔE00 5.36
Barney
#AC1DB8
ΔE00 7.27
Purply
#983FB2
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B643AA #43B64F
analogous
#8943B6 #B643AA #B64371
triadic
#B643AA #AAB643 #43AAB6
tetradic
#B643AA #B68943 #43B64F #4371B6
square
#B643AA #B68943 #43B64F #4371B6
split-complementary
#B643AA #71B643 #43B689
monochromatic
#5D2256 #893380 #B643AA #C96DC0 #DA9AD3
Accessibility & contrast
On white
4.80
#B643AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#B643AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B643AA
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B643AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B643AA | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#BD4D70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b643aa; /* rgb */ color: rgb(182, 67, 170); /* oklch */ color: oklch(57.7% 0.190 332.1);
Tailwind
colors: {
custom: {
50: '#cf7fc3',
500: '#b643aa',
950: '#000000',
},
}SCSS
$custom: #b643aa; $custom-light: #cf7fc3; $custom-dark: #000000;
JSON
{
"hex": "#b643aa",
"rgb": {
"r": 182,
"g": 67,
"b": 170
},
"hsl": {
"h": 306.261,
"s": 46.185,
"l": 48.824
},
"oklch": {
"l": 0.57719,
"c": 0.19002,
"h": 332.1
},
"luminance": 0.16862
}Semantic roles & 50–950 ramp
primary
#B643AA
secondary
#8FC695
accent
#D66052
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81