#B645E6#B645E6
#B645E6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.239 H 313.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B645E6 |
|---|---|
| RGB | rgb(182, 69, 230) |
| HSL | hsl(282, 76%, 59%) |
| HSV | hsv(282, 70%, 90%) |
| CMYK | cmyk(20.9%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(51.74, 68.77, -61.24) |
| CIE-LCH | lch(51.74, 92.08, 318.31°) |
| OKLab | oklab(61.43% 0.1656 -0.1727) |
| OKLCH | oklch(61.43% 0.239 313.8) |
| XYZ | xyz(35.7000, 19.9156, 76.8111) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.23
Mediumorchid
#BA55D3
ΔE00 4.40
Hot Purple
#CB00F5
ΔE00 4.48
Neon Purple
#BC13FE
ΔE00 4.71
Bright Purple
#BE03FD
ΔE00 4.96
Lighter Purple
#A55AF4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B645E6 #75E645
analogous
#6545E6 #B645E6 #E645C5
triadic
#B645E6 #E6B645 #45E6B6
tetradic
#B645E6 #E66545 #75E645 #45C5E6
square
#B645E6 #E66545 #75E645 #45C5E6
split-complementary
#B645E6 #C5E645 #45E665
monochromatic
#74159C #9C1CD2 #B645E6 #CB7BED #E0B1F5
Accessibility & contrast
On white
4.21
#B645E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#B645E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B645E6
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B645E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B645E6 | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#B16791
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b645e6; /* rgb */ color: rgb(182, 69, 230); /* oklch */ color: oklch(61.4% 0.239 313.8);
Tailwind
colors: {
custom: {
50: '#d082ef',
500: '#b645e6',
950: '#000000',
},
}SCSS
$custom: #b645e6; $custom-light: #d082ef; $custom-dark: #000000;
JSON
{
"hex": "#b645e6",
"rgb": {
"r": 182,
"g": 69,
"b": 230
},
"hsl": {
"h": 282.112,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.61433,
"c": 0.23928,
"h": 313.8
},
"luminance": 0.19914
}Semantic roles & 50–950 ramp
primary
#B645E6
secondary
#B7E3A4
accent
#F3356E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84