#B45CD3#B45CD3
#B45CD3 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.7% C 0.189 H 316.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B45CD3 |
|---|---|
| RGB | rgb(180, 92, 211) |
| HSL | hsl(284, 57%, 59%) |
| HSV | hsv(284, 56%, 83%) |
| CMYK | cmyk(14.7%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(54.09, 54.22, -46.74) |
| CIE-LCH | lch(54.09, 71.58, 319.24°) |
| OKLab | oklab(62.72% 0.1373 -0.1305) |
| OKLCH | oklch(62.72% 0.189 316.5) |
| XYZ | xyz(34.4057, 22.0619, 64.0614) |
| Luminance | 0.2206 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.59
Amethyst
#9B5FC0
ΔE00 5.14
Lightish Purple
#A552E6
ΔE00 5.42
Pinkish Purple
#D648D7
ΔE00 5.92
Pinky Purple
#C94CBE
ΔE00 6.33
Bright Lilac
#C95EFB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45CD3 #7BD35C
analogous
#795CD3 #B45CD3 #D35CB6
triadic
#B45CD3 #D3B45C #5CD3B4
tetradic
#B45CD3 #D3795C #7BD35C #5CB6D3
square
#B45CD3 #D3795C #7BD35C #5CB6D3
split-complementary
#B45CD3 #B6D35C #5CD379
monochromatic
#73268E #9A33BE #B45CD3 #CA8CE0 #E0BCED
Accessibility & contrast
On white
3.88
#B45CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#B45CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45CD3
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45CD3 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#B36F8F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b45cd3; /* rgb */ color: rgb(180, 92, 211); /* oklch */ color: oklch(62.7% 0.189 316.5);
Tailwind
colors: {
custom: {
50: '#cd8ee1',
500: '#b45cd3',
950: '#000000',
},
}SCSS
$custom: #b45cd3; $custom-light: #cd8ee1; $custom-dark: #000000;
JSON
{
"hex": "#b45cd3",
"rgb": {
"r": 180,
"g": 92,
"b": 211
},
"hsl": {
"h": 284.37,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.6272,
"c": 0.18944,
"h": 316.5
},
"luminance": 0.22061
}Semantic roles & 50–950 ramp
primary
#B45CD3
secondary
#BADDAE
accent
#E1476F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83