#B646E9#B646E9
#B646E9 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.241 H 313.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B646E9 |
|---|---|
| RGB | rgb(182, 70, 233) |
| HSL | hsl(281, 79%, 59%) |
| HSV | hsv(281, 70%, 91%) |
| CMYK | cmyk(21.9%, 70%, 0%, 8.6%) |
| CIE-LAB | lab(52.07, 68.97, -62.40) |
| CIE-LCH | lch(52.07, 93.01, 317.86°) |
| OKLab | oklab(61.73% 0.1643 -0.1761) |
| OKLCH | oklch(61.73% 0.241 313) |
| XYZ | xyz(36.1869, 20.2097, 79.0696) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.06
Hot Purple
#CB00F5
ΔE00 4.56
Mediumorchid
#BA55D3
ΔE00 4.57
Neon Purple
#BC13FE
ΔE00 4.69
Lighter Purple
#A55AF4
ΔE00 4.77
Bright Purple
#BE03FD
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B646E9 #79E946
analogous
#6546E9 #B646E9 #E946CB
triadic
#B646E9 #E9B646 #46E9B6
tetradic
#B646E9 #E96546 #79E946 #46CBE9
square
#B646E9 #E96546 #79E946 #46CBE9
split-complementary
#B646E9 #CBE946 #46E965
monochromatic
#7513A1 #9D1AD8 #B646E9 #CC7DF0 #E1B3F6
Accessibility & contrast
On white
4.17
#B646E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#B646E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B646E9
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B646E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B646E9 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#377FE5
Tritanopia (blue-blind)
#B16993
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b646e9; /* rgb */ color: rgb(182, 70, 233); /* oklch */ color: oklch(61.7% 0.241 313.0);
Tailwind
colors: {
custom: {
50: '#d083f1',
500: '#b646e9',
950: '#000000',
},
}SCSS
$custom: #b646e9; $custom-light: #d083f1; $custom-dark: #000000;
JSON
{
"hex": "#b646e9",
"rgb": {
"r": 182,
"g": 70,
"b": 233
},
"hsl": {
"h": 281.227,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.6173,
"c": 0.24085,
"h": 313
},
"luminance": 0.20209
}Semantic roles & 50–950 ramp
primary
#B646E9
secondary
#BAE5A6
accent
#F5336F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85