#BC45E2#BC45E2
#BC45E2 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.238 H 316.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BC45E2 |
|---|---|
| RGB | rgb(188, 69, 226) |
| HSL | hsl(285, 73%, 58%) |
| HSV | hsv(285, 69%, 89%) |
| CMYK | cmyk(16.8%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(52.33, 69.21, -57.99) |
| CIE-LCH | lch(52.33, 90.29, 320.04°) |
| OKLab | oklab(61.95% 0.1732 -0.163) |
| OKLCH | oklch(61.95% 0.238 316.7) |
| XYZ | xyz(36.5926, 20.4401, 73.9546) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.44
Lightish Purple
#A552E6
ΔE00 4.31
Hot Purple
#CB00F5
ΔE00 4.50
Purple Pink
#D725DE
ΔE00 4.66
Neon Purple
#BC13FE
ΔE00 5.47
Bright Purple
#BE03FD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BC45E2 #6BE245
analogous
#6E45E2 #BC45E2 #E245B9
triadic
#BC45E2 #E2BC45 #45E2BC
tetradic
#BC45E2 #E26E45 #6BE245 #45B9E2
square
#BC45E2 #E26E45 #6BE245 #45B9E2
split-complementary
#BC45E2 #B9E245 #45E26E
monochromatic
#771795 #A120CA #BC45E2 #CF7AEA #E2AFF3
Accessibility & contrast
On white
4.13
#BC45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#BC45E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BC45E2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BC45E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BC45E2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#BA648F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #bc45e2; /* rgb */ color: rgb(188, 69, 226); /* oklch */ color: oklch(61.9% 0.238 316.7);
Tailwind
colors: {
custom: {
50: '#d482ec',
500: '#bc45e2',
950: '#000000',
},
}SCSS
$custom: #bc45e2; $custom-light: #d482ec; $custom-dark: #000000;
JSON
{
"hex": "#bc45e2",
"rgb": {
"r": 188,
"g": 69,
"b": 226
},
"hsl": {
"h": 285.478,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.61946,
"c": 0.23783,
"h": 316.7
},
"luminance": 0.20439
}Semantic roles & 50–950 ramp
primary
#BC45E2
secondary
#B1E1A2
accent
#F03865
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84