#B646BB#B646BB
#B646BB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.200 H 326.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B646BB |
|---|---|
| RGB | rgb(182, 70, 187) |
| HSL | hsl(297, 46%, 50%) |
| HSV | hsv(297, 63%, 73%) |
| CMYK | cmyk(2.7%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(49.39, 60.26, -40.37) |
| CIE-LCH | lch(49.39, 72.53, 326.18°) |
| OKLab | oklab(58.94% 0.1657 -0.1118) |
| OKLCH | oklch(58.94% 0.2 326) |
| XYZ | xyz(30.4506, 17.9151, 48.8582) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.37
Pinky Purple
#C94CBE
ΔE00 4.49
Mediumorchid
#BA55D3
ΔE00 5.16
Ugly Purple
#A442A0
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 5.86
Purple Pink
#D725DE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646BB #4BBB46
analogous
#7B46BB #B646BB #BB4685
triadic
#B646BB #BBB646 #46BBB6
tetradic
#B646BB #BB7B46 #4BBB46 #4685BB
square
#B646BB #BB7B46 #4BBB46 #4685BB
split-complementary
#B646BB #85BB46 #46BB7B
monochromatic
#602462 #8B358F #B646BB #C873CB #D9A0DC
Accessibility & contrast
On white
4.58
#B646BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#B646BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646BB
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646BB | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346CBF
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#BA567A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #b646bb; /* rgb */ color: rgb(182, 70, 187); /* oklch */ color: oklch(58.9% 0.200 326.0);
Tailwind
colors: {
custom: {
50: '#cf81d0',
500: '#b646bb',
950: '#000000',
},
}SCSS
$custom: #b646bb; $custom-light: #cf81d0; $custom-dark: #000000;
JSON
{
"hex": "#b646bb",
"rgb": {
"r": 182,
"g": 70,
"b": 187
},
"hsl": {
"h": 297.436,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.58944,
"c": 0.1999,
"h": 326
},
"luminance": 0.17913
}Semantic roles & 50–950 ramp
primary
#B646BB
secondary
#97C894
accent
#D65258
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82