#B646D4#B646D4
#B646D4 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.222 H 318.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B646D4 |
|---|---|
| RGB | rgb(182, 70, 212) |
| HSL | hsl(287, 62%, 55%) |
| HSV | hsv(287, 67%, 83%) |
| CMYK | cmyk(14.2%, 67%, 0%, 16.9%) |
| CIE-LAB | lab(50.78, 64.86, -52.57) |
| CIE-LCH | lch(50.78, 83.49, 320.97°) |
| OKLab | oklab(60.39% 0.1659 -0.1473) |
| OKLCH | oklch(60.39% 0.222 318.4) |
| XYZ | xyz(33.3636, 19.0803, 64.2000) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.30
Lightish Purple
#A552E6
ΔE00 4.84
Purple Pink
#D725DE
ΔE00 5.20
Hot Purple
#CB00F5
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 6.26
Pinkish Purple
#D648D7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646D4 #64D446
analogous
#6F46D4 #B646D4 #D446AB
triadic
#B646D4 #D4B646 #46D4B6
tetradic
#B646D4 #D46F46 #64D446 #46ABD4
square
#B646D4 #D46F46 #64D446 #46ABD4
split-complementary
#B646D4 #ABD446 #46D46F
monochromatic
#6C1E81 #962AB3 #B646D4 #CA78E0 #DDA9EB
Accessibility & contrast
On white
4.36
#B646D4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#B646D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646D4
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646D4 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0372D8
Deuteranopia (green-blind)
#4D7DD1
Tritanopia (blue-blind)
#B56088
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #b646d4; /* rgb */ color: rgb(182, 70, 212); /* oklch */ color: oklch(60.4% 0.222 318.4);
Tailwind
colors: {
custom: {
50: '#d082e2',
500: '#b646d4',
950: '#000000',
},
}SCSS
$custom: #b646d4; $custom-light: #d082e2; $custom-dark: #000000;
JSON
{
"hex": "#b646d4",
"rgb": {
"r": 182,
"g": 70,
"b": 212
},
"hsl": {
"h": 287.324,
"s": 62.281,
"l": 55.294
},
"oklch": {
"l": 0.60393,
"c": 0.22183,
"h": 318.4
},
"luminance": 0.19079
}Semantic roles & 50–950 ramp
primary
#B646D4
secondary
#AAD99D
accent
#E54265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83