#B645D3#B645D3
#B645D3 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.222 H 318.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B645D3 |
|---|---|
| RGB | rgb(182, 69, 211) |
| HSL | hsl(288, 62%, 55%) |
| HSV | hsv(288, 67%, 83%) |
| CMYK | cmyk(13.7%, 67.3%, 0%, 17.3%) |
| CIE-LAB | lab(50.58, 65.07, -52.32) |
| CIE-LCH | lch(50.58, 83.50, 321.20°) |
| OKLab | oklab(60.23% 0.167 -0.1466) |
| OKLCH | oklch(60.23% 0.222 318.7) |
| XYZ | xyz(33.1758, 18.9060, 63.5171) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.47
Lightish Purple
#A552E6
ΔE00 5.01
Purple Pink
#D725DE
ΔE00 5.19
Hot Purple
#CB00F5
ΔE00 5.59
Purpley Pink
#C83CB9
ΔE00 6.12
Pinky Purple
#C94CBE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B645D3 #62D345
analogous
#6F45D3 #B645D3 #D345A9
triadic
#B645D3 #D3B645 #45D3B6
tetradic
#B645D3 #D36F45 #62D345 #45A9D3
square
#B645D3 #D36F45 #62D345 #45A9D3
split-complementary
#B645D3 #A9D345 #45D36F
monochromatic
#6C1E7F #952AB1 #B645D3 #C976DF #DDA8EA
Accessibility & contrast
On white
4.39
#B645D3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#B645D3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B645D3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B645D3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B645D3 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0171D7
Deuteranopia (green-blind)
#4D7CD0
Tritanopia (blue-blind)
#B65F87
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #b645d3; /* rgb */ color: rgb(182, 69, 211); /* oklch */ color: oklch(60.2% 0.222 318.7);
Tailwind
colors: {
custom: {
50: '#d081e1',
500: '#b645d3',
950: '#000000',
},
}SCSS
$custom: #b645d3; $custom-light: #d081e1; $custom-dark: #000000;
JSON
{
"hex": "#b645d3",
"rgb": {
"r": 182,
"g": 69,
"b": 211
},
"hsl": {
"h": 287.746,
"s": 61.739,
"l": 54.902
},
"oklch": {
"l": 0.60228,
"c": 0.22219,
"h": 318.7
},
"luminance": 0.18904
}Semantic roles & 50–950 ramp
primary
#B645D3
secondary
#A8D89C
accent
#E54364
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83