#B45DCD#B45DCD

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

Color values

HEX#B45DCD
RGBrgb(180, 93, 205)
HSLhsl(287, 53%, 58%)
HSVhsv(287, 55%, 80%)
CMYKcmyk(12.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(53.96, 52.51, -43.52)
CIE-LCHlch(53.96, 68.20, 320.35°)
OKLaboklab(62.53% 0.1356 -0.1211)
OKLCHoklch(62.53% 0.182 318.2)
XYZxyz(33.7547, 21.9411, 60.2028)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DCD #76CD5D
analogous
#7C5DCD #B45DCD #CD5DAE
triadic
#B45DCD #CDB45D #5DCDB4
tetradic
#B45DCD #CD7C5D #76CD5D #5DAECD
square
#B45DCD #CD7C5D #76CD5D #5DAECD
split-complementary
#B45DCD #AECD5D #5DCD7C
monochromatic
#712986 #9938B5 #B45DCD #CA8CDB #DFBBEA

Accessibility & contrast

On white

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

On black

5.39
#B45DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DCD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DCD#FFFFFF#000000##000000
##B45DCD1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#6284CA
Tritanopia (blue-blind)
#B46E8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45dcd;
/* rgb */ color: rgb(180, 93, 205);
/* oklch */ color: oklch(62.5% 0.182 318.2);
Tailwind
colors: {
  custom: {
    50: '#cd8fdd',
    500: '#b45dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b45dcd;
$custom-light: #cd8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dcd",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 286.607,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62525,
    "c": 0.18184,
    "h": 318.2
  },
  "luminance": 0.2194
}

Semantic roles & 50–950 ramp

primary
#B45DCD
secondary
#B7D9AD
accent
#DC4C6C
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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