#B45FCF#B45FCF
#B45FCF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.9% C 0.181 H 317.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B45FCF |
|---|---|
| RGB | rgb(180, 95, 207) |
| HSL | hsl(286, 54%, 59%) |
| HSV | hsv(286, 54%, 81%) |
| CMYK | cmyk(13%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(54.44, 51.91, -43.91) |
| CIE-LCH | lch(54.44, 67.99, 319.78°) |
| OKLab | oklab(62.91% 0.1331 -0.1223) |
| OKLCH | oklch(62.91% 0.181 317.4) |
| XYZ | xyz(34.1755, 22.3939, 61.5416) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.14
Amethyst
#9B5FC0
ΔE00 5.06
Pinkish Purple
#D648D7
ΔE00 6.01
Pinky Purple
#C94CBE
ΔE00 6.07
Lightish Purple
#A552E6
ΔE00 6.31
Soft Purple
#A66FB5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45FCF #7ACF5F
analogous
#7C5FCF #B45FCF #CF5FB2
triadic
#B45FCF #CFB45F #5FCFB4
tetradic
#B45FCF #CF7C5F #7ACF5F #5FB2CF
square
#B45FCF #CF7C5F #7ACF5F #5FB2CF
split-complementary
#B45FCF #B2CF5F #5FCF7C
monochromatic
#73298A #9A38B9 #B45FCF #CA8EDD #E0BDEB
Accessibility & contrast
On white
3.83
#B45FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#B45FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45FCF
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45FCF | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#6385CC
Tritanopia (blue-blind)
#B3708E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #b45fcf; /* rgb */ color: rgb(180, 95, 207); /* oklch */ color: oklch(62.9% 0.181 317.4);
Tailwind
colors: {
custom: {
50: '#cd90de',
500: '#b45fcf',
950: '#000000',
},
}SCSS
$custom: #b45fcf; $custom-light: #cd90de; $custom-dark: #000000;
JSON
{
"hex": "#b45fcf",
"rgb": {
"r": 180,
"g": 95,
"b": 207
},
"hsl": {
"h": 285.536,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.62909,
"c": 0.18075,
"h": 317.4
},
"luminance": 0.22393
}Semantic roles & 50–950 ramp
primary
#B45FCF
secondary
#BADBAF
accent
#DD4B6E
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83