#B643B2#B643B2
#B643B2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.1% C 0.196 H 329.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B643B2 |
|---|---|
| RGB | rgb(182, 67, 178) |
| HSL | hsl(302, 46%, 49%) |
| HSV | hsv(302, 63%, 71%) |
| CMYK | cmyk(0%, 63.2%, 2.2%, 28.6%) |
| CIE-LAB | lab(48.48, 59.96, -36.56) |
| CIE-LCH | lch(48.48, 70.23, 328.63°) |
| OKLab | oklab(58.13% 0.1687 -0.1007) |
| OKLCH | oklch(58.13% 0.196 329.2) |
| XYZ | xyz(29.3342, 17.1758, 43.8811) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.17
Ugly Purple
#A442A0
ΔE00 4.26
Pinky Purple
#C94CBE
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 4.98
Barney
#AC1DB8
ΔE00 6.66
Purply
#983FB2
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B643B2 #43B647
analogous
#8143B6 #B643B2 #B64379
triadic
#B643B2 #B2B643 #43B2B6
tetradic
#B643B2 #B68143 #43B647 #4379B6
square
#B643B2 #B68143 #43B647 #4379B6
split-complementary
#B643B2 #79B643 #43B681
monochromatic
#5D225B #893386 #B643B2 #C96DC6 #DA9AD7
Accessibility & contrast
On white
4.74
#B643B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#B643B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B643B2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B643B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B643B2 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#BC5175
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b643b2; /* rgb */ color: rgb(182, 67, 178); /* oklch */ color: oklch(58.1% 0.196 329.2);
Tailwind
colors: {
custom: {
50: '#cf7fc9',
500: '#b643b2',
950: '#000000',
},
}SCSS
$custom: #b643b2; $custom-light: #cf7fc9; $custom-dark: #000000;
JSON
{
"hex": "#b643b2",
"rgb": {
"r": 182,
"g": 67,
"b": 178
},
"hsl": {
"h": 302.087,
"s": 46.185,
"l": 48.824
},
"oklch": {
"l": 0.58133,
"c": 0.19646,
"h": 329.2
},
"luminance": 0.17174
}Semantic roles & 50–950 ramp
primary
#B643B2
secondary
#8FC691
accent
#D65752
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82