#B646E2#B646E2
#B646E2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.234 H 314.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B646E2 |
|---|---|
| RGB | rgb(182, 70, 226) |
| HSL | hsl(283, 73%, 58%) |
| HSV | hsv(283, 69%, 89%) |
| CMYK | cmyk(19.5%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(51.63, 67.58, -59.16) |
| CIE-LCH | lch(51.63, 89.82, 318.80°) |
| OKLab | oklab(61.27% 0.165 -0.1666) |
| OKLCH | oklch(61.27% 0.234 314.7) |
| XYZ | xyz(35.2068, 19.8176, 73.9074) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.41
Mediumorchid
#BA55D3
ΔE00 3.96
Hot Purple
#CB00F5
ΔE00 4.69
Neon Purple
#BC13FE
ΔE00 5.11
Bright Purple
#BE03FD
ΔE00 5.32
Lighter Purple
#A55AF4
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646E2 #72E246
analogous
#6846E2 #B646E2 #E246C0
triadic
#B646E2 #E2B646 #46E2B6
tetradic
#B646E2 #E26846 #72E246 #46C0E2
square
#B646E2 #E26846 #72E246 #46C0E2
split-complementary
#B646E2 #C0E246 #46E268
monochromatic
#721896 #9B20CB #B646E2 #CB7BEA #E0B0F3
Accessibility & contrast
On white
4.23
#B646E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#B646E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646E2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646E2 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#407EDE
Tritanopia (blue-blind)
#B2668F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b646e2; /* rgb */ color: rgb(182, 70, 226); /* oklch */ color: oklch(61.3% 0.234 314.7);
Tailwind
colors: {
custom: {
50: '#d082ec',
500: '#b646e2',
950: '#000000',
},
}SCSS
$custom: #b646e2; $custom-light: #d082ec; $custom-dark: #000000;
JSON
{
"hex": "#b646e2",
"rgb": {
"r": 182,
"g": 70,
"b": 226
},
"hsl": {
"h": 283.077,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.61273,
"c": 0.23448,
"h": 314.7
},
"luminance": 0.19816
}Semantic roles & 50–950 ramp
primary
#B646E2
secondary
#B4E1A3
accent
#F0386C
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84