#B45DB1#B45DB1

#B45DB1 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.1% C 0.155 H 328.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B45DB1
RGBrgb(180, 93, 177)
HSLhsl(302, 37%, 54%)
HSVhsv(302, 48%, 71%)
CMYKcmyk(0%, 48.3%, 1.7%, 29.4%)
CIE-LABlab(52.63, 47.14, -29.50)
CIE-LCHlch(52.63, 55.61, 327.96°)
OKLaboklab(61.1% 0.132 -0.0807)
OKLCHoklch(61.1% 0.155 328.5)
XYZxyz(30.6721, 20.7080, 43.9679)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DB1 #5DB460
analogous
#8B5DB4 #B45DB1 #B45D85
triadic
#B45DB1 #B1B45D #5DB1B4
tetradic
#B45DB1 #B48B5D #5DB460 #5D85B4
square
#B45DB1 #B48B5D #5DB460 #5D85B4
split-complementary
#B45DB1 #85B45D #5DB48B
monochromatic
#673065 #91438E #B45DB1 #C787C5 #DBB1D9

Accessibility & contrast

On white

4.08
#B45DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B45DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DB1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DB1#FFFFFF#000000##000000
##B45DB11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B4
Deuteranopia (green-blind)
#7082AE
Tritanopia (blue-blind)
#B9657F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45db1;
/* rgb */ color: rgb(180, 93, 177);
/* oklch */ color: oklch(61.1% 0.155 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ec8',
    500: '#b45db1',
    950: '#000000',
  },
}
SCSS
$custom: #b45db1;
$custom-light: #cc8ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45db1",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 302.069,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.15468,
    "h": 328.5
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#B45DB1
secondary
#A4C9A5
accent
#CD5F5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DB1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B45DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva