#B45DCC#B45DCC

#B45DCC is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.5% C 0.181 H 318.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B45DCC
RGBrgb(180, 93, 204)
HSLhsl(287, 52%, 58%)
HSVhsv(287, 54%, 80%)
CMYKcmyk(11.8%, 54.4%, 0%, 20%)
CIE-LABlab(53.91, 52.31, -43.03)
CIE-LCHlch(53.91, 67.74, 320.56°)
OKLaboklab(62.47% 0.1355 -0.1197)
OKLCHoklch(62.47% 0.181 318.5)
XYZxyz(33.6344, 21.8929, 59.5691)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DCC #75CC5D
analogous
#7C5DCC #B45DCC #CC5DAC
triadic
#B45DCC #CCB45D #5DCCB4
tetradic
#B45DCC #CC7C5D #75CC5D #5DACCC
square
#B45DCC #CC7C5D #75CC5D #5DACCC
split-complementary
#B45DCC #ACCC5D #5DCC7C
monochromatic
#712A85 #9938B3 #B45DCC #CA8CDB #DFBAE9

Accessibility & contrast

On white

3.90
#B45DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B45DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DCC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DCC#FFFFFF#000000##000000
##B45DCC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#6384C9
Tritanopia (blue-blind)
#B46E8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45dcc;
/* rgb */ color: rgb(180, 93, 204);
/* oklch */ color: oklch(62.5% 0.181 318.5);
Tailwind
colors: {
  custom: {
    50: '#cd8fdc',
    500: '#b45dcc',
    950: '#000000',
  },
}
SCSS
$custom: #b45dcc;
$custom-light: #cd8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dcc",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 287.027,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.18083,
    "h": 318.5
  },
  "luminance": 0.21892
}

Semantic roles & 50–950 ramp

primary
#B45DCC
secondary
#B6D9AC
accent
#DC4C6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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