#B646E7#B646E7
#B646E7 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.239 H 313.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B646E7 |
|---|---|
| RGB | rgb(182, 70, 231) |
| HSL | hsl(282, 77%, 59%) |
| HSV | hsv(282, 70%, 91%) |
| CMYK | cmyk(21.2%, 69.7%, 0%, 9.4%) |
| CIE-LAB | lab(51.95, 68.57, -61.48) |
| CIE-LCH | lch(51.95, 92.09, 318.12°) |
| OKLab | oklab(61.6% 0.1645 -0.1734) |
| OKLCH | oklch(61.6% 0.239 313.5) |
| XYZ | xyz(35.9029, 20.0960, 77.5735) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.13
Mediumorchid
#BA55D3
ΔE00 4.38
Hot Purple
#CB00F5
ΔE00 4.58
Neon Purple
#BC13FE
ΔE00 4.79
Lighter Purple
#A55AF4
ΔE00 4.96
Bright Purple
#BE03FD
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646E7 #77E746
analogous
#6646E7 #B646E7 #E746C8
triadic
#B646E7 #E7B646 #46E7B6
tetradic
#B646E7 #E76646 #77E746 #46C8E7
square
#B646E7 #E76646 #77E746 #46C8E7
split-complementary
#B646E7 #C8E746 #46E766
monochromatic
#74159E #9C1CD4 #B646E7 #CB7CEE #E1B2F5
Accessibility & contrast
On white
4.18
#B646E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#B646E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646E7
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646E7 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#B16892
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b646e7; /* rgb */ color: rgb(182, 70, 231); /* oklch */ color: oklch(61.6% 0.239 313.5);
Tailwind
colors: {
custom: {
50: '#d082ef',
500: '#b646e7',
950: '#000000',
},
}SCSS
$custom: #b646e7; $custom-light: #d082ef; $custom-dark: #000000;
JSON
{
"hex": "#b646e7",
"rgb": {
"r": 182,
"g": 70,
"b": 231
},
"hsl": {
"h": 281.739,
"s": 77.033,
"l": 59.02
},
"oklch": {
"l": 0.61598,
"c": 0.23903,
"h": 313.5
},
"luminance": 0.20095
}Semantic roles & 50–950 ramp
primary
#B646E7
secondary
#B8E4A5
accent
#F4346E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85