#B45FC2#B45FC2
#B45FC2 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.2% C 0.168 H 321.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B45FC2 |
|---|---|
| RGB | rgb(180, 95, 194) |
| HSL | hsl(292, 45%, 57%) |
| HSV | hsv(292, 51%, 76%) |
| CMYK | cmyk(7.2%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(53.80, 49.33, -37.49) |
| CIE-LCH | lch(53.80, 61.96, 322.76°) |
| OKLab | oklab(62.22% 0.1318 -0.1037) |
| OKLCH | oklch(62.22% 0.168 321.8) |
| XYZ | xyz(32.6511, 21.7842, 53.5134) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.50
Pinky Purple
#C94CBE
ΔE00 4.83
Amethyst
#9B5FC0
ΔE00 5.25
Soft Purple
#A66FB5
ΔE00 5.44
Pinkish Purple
#D648D7
ΔE00 6.27
Purpley Pink
#C83CB9
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45FC2 #6DC25F
analogous
#835FC2 #B45FC2 #C25F9F
triadic
#B45FC2 #C2B45F #5FC2B4
tetradic
#B45FC2 #C2835F #6DC25F #5F9FC2
square
#B45FC2 #C2835F #6DC25F #5F9FC2
split-complementary
#B45FC2 #9FC25F #5FC283
monochromatic
#6E2E79 #963FA5 #B45FC2 #C98BD3 #DEB8E4
Accessibility & contrast
On white
3.92
#B45FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#B45FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45FC2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45FC2 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#B66C88
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #b45fc2; /* rgb */ color: rgb(180, 95, 194); /* oklch */ color: oklch(62.2% 0.168 321.8);
Tailwind
colors: {
custom: {
50: '#cd90d5',
500: '#b45fc2',
950: '#000000',
},
}SCSS
$custom: #b45fc2; $custom-light: #cd90d5; $custom-dark: #000000;
JSON
{
"hex": "#b45fc2",
"rgb": {
"r": 180,
"g": 95,
"b": 194
},
"hsl": {
"h": 291.515,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.62224,
"c": 0.16765,
"h": 321.8
},
"luminance": 0.21783
}Semantic roles & 50–950 ramp
primary
#B45FC2
secondary
#B0D3AA
accent
#D45366
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83