#B45DB7#B45DB7

#B45DB7 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.4% C 0.160 H 326.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B45DB7
RGBrgb(180, 93, 183)
HSLhsl(298, 38%, 54%)
HSVhsv(298, 49%, 72%)
CMYKcmyk(1.6%, 49.2%, 0%, 28.2%)
CIE-LABlab(52.90, 48.25, -32.56)
CIE-LCHlch(52.90, 58.21, 325.98°)
OKLaboklab(61.39% 0.133 -0.0895)
OKLCHoklch(61.39% 0.16 326.1)
XYZxyz(31.2833, 20.9525, 47.1870)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DB7 #60B75D
analogous
#875DB7 #B45DB7 #B75D8D
triadic
#B45DB7 #B7B45D #5DB7B4
tetradic
#B45DB7 #B7875D #60B75D #5D8DB7
square
#B45DB7 #B7875D #60B75D #5D8DB7
split-complementary
#B45DB7 #8DB75D #5DB787
monochromatic
#682F6A #924295 #B45DB7 #C887CA #DBB2DD

Accessibility & contrast

On white

4.05
#B45DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B45DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DB7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DB7#FFFFFF#000000##000000
##B45DB71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5477BA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#B86782
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45db7;
/* rgb */ color: rgb(180, 93, 183);
/* oklch */ color: oklch(61.4% 0.160 326.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ecd',
    500: '#b45db7',
    950: '#000000',
  },
}
SCSS
$custom: #b45db7;
$custom-light: #cc8ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45db7",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 298,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.16027,
    "h": 326.1
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#B45DB7
secondary
#A6CBA5
accent
#CE595D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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