#B646B2#B646B2
#B646B2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.192 H 329.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B646B2 |
|---|---|
| RGB | rgb(182, 70, 178) |
| HSL | hsl(302, 44%, 49%) |
| HSV | hsv(302, 62%, 71%) |
| CMYK | cmyk(0%, 61.5%, 2.2%, 28.6%) |
| CIE-LAB | lab(48.94, 58.70, -35.84) |
| CIE-LCH | lch(48.94, 68.78, 328.59°) |
| OKLab | oklab(58.46% 0.1651 -0.0987) |
| OKLCH | oklch(58.46% 0.192 329.1) |
| XYZ | xyz(29.5172, 17.5418, 43.9421) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.10
Ugly Purple
#A442A0
ΔE00 4.50
Pinky Purple
#C94CBE
ΔE00 4.52
Medium Purple
#9E43A2
ΔE00 5.23
Mediumorchid
#BA55D3
ΔE00 6.48
Purply
#983FB2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646B2 #46B64A
analogous
#8246B6 #B646B2 #B6467A
triadic
#B646B2 #B2B646 #46B2B6
tetradic
#B646B2 #B68246 #46B64A #467AB6
square
#B646B2 #B68246 #46B64A #467AB6
split-complementary
#B646B2 #7AB646 #46B682
monochromatic
#5E245C #8A3587 #B646B2 #C871C5 #D99DD7
Accessibility & contrast
On white
4.66
#B646B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#B646B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B646B2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B646B2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#BC5376
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #b646b2; /* rgb */ color: rgb(182, 70, 178); /* oklch */ color: oklch(58.5% 0.192 329.1);
Tailwind
colors: {
custom: {
50: '#cf81c9',
500: '#b646b2',
950: '#000000',
},
}SCSS
$custom: #b646b2; $custom-light: #cf81c9; $custom-dark: #000000;
JSON
{
"hex": "#b646b2",
"rgb": {
"r": 182,
"g": 70,
"b": 178
},
"hsl": {
"h": 302.143,
"s": 44.444,
"l": 49.412
},
"oklch": {
"l": 0.58463,
"c": 0.19233,
"h": 329.1
},
"luminance": 0.1754
}Semantic roles & 50–950 ramp
primary
#B646B2
secondary
#92C694
accent
#D45854
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82