#B45DA7#B45DA7

#B45DA7 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.6% C 0.146 H 333.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B45DA7
RGBrgb(180, 93, 167)
HSLhsl(309, 37%, 54%)
HSVhsv(309, 48%, 71%)
CMYKcmyk(0%, 48.3%, 7.2%, 29.4%)
CIE-LABlab(52.20, 45.37, -24.34)
CIE-LCHlch(52.20, 51.48, 331.79°)
OKLaboklab(60.65% 0.13 -0.066)
OKLCHoklch(60.65% 0.146 333.1)
XYZxyz(29.7117, 20.3239, 38.9097)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DA7 #5DB46A
analogous
#955DB4 #B45DA7 #B45D7B
triadic
#B45DA7 #A7B45D #5DA7B4
tetradic
#B45DA7 #B4955D #5DB46A #5D7BB4
square
#B45DA7 #B4955D #5DB46A #5D7BB4
split-complementary
#B45DA7 #7BB45D #5DB495
monochromatic
#67305F #914385 #B45DA7 #C787BE #DBB1D4

Accessibility & contrast

On white

4.15
#B45DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B45DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DA7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DA7#FFFFFF#000000##000000
##B45DA71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#BB627A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45da7;
/* rgb */ color: rgb(180, 93, 167);
/* oklch */ color: oklch(60.6% 0.146 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ec1',
    500: '#b45da7',
    950: '#000000',
  },
}
SCSS
$custom: #b45da7;
$custom-light: #cc8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45da7",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 308.966,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.14576,
    "h": 333.1
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#B45DA7
secondary
#A4C9A9
accent
#CD6C5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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