#B45DB4#B45DB4

#B45DB4 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.157 H 327.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B45DB4
RGBrgb(180, 93, 180)
HSLhsl(300, 37%, 54%)
HSVhsv(300, 48%, 71%)
CMYKcmyk(0%, 48.3%, 0%, 29.4%)
CIE-LABlab(52.76, 47.69, -31.04)
CIE-LCHlch(52.76, 56.90, 326.95°)
OKLaboklab(61.25% 0.1325 -0.0851)
OKLCHoklch(61.25% 0.157 327.3)
XYZxyz(30.9744, 20.8290, 45.5600)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DB4 #5DB45D
analogous
#885DB4 #B45DB4 #B45D88
triadic
#B45DB4 #B4B45D #5DB4B4
tetradic
#B45DB4 #B4885D #5DB45D #5D88B4
square
#B45DB4 #B4885D #5DB45D #5D88B4
split-complementary
#B45DB4 #88B45D #5DB488
monochromatic
#673067 #914391 #B45DB4 #C787C7 #DBB1DB

Accessibility & contrast

On white

4.07
#B45DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B45DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DB4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DB4#FFFFFF#000000##000000
##B45DB41.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B7
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#B96680
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45db4;
/* rgb */ color: rgb(180, 93, 180);
/* oklch */ color: oklch(61.2% 0.157 327.3);
Tailwind
colors: {
  custom: {
    50: '#cc8eca',
    500: '#b45db4',
    950: '#000000',
  },
}
SCSS
$custom: #b45db4;
$custom-light: #cc8eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45db4",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.15746,
    "h": 327.3
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#B45DB4
secondary
#A4C9A4
accent
#CD5B5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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