#B45DDC#B45DDC

#B45DDC is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.4% C 0.197 H 313.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B45DDC
RGBrgb(180, 93, 220)
HSLhsl(281, 64%, 61%)
HSVhsv(281, 58%, 86%)
CMYKcmyk(18.2%, 57.7%, 0%, 13.7%)
CIE-LABlab(54.76, 55.59, -50.77)
CIE-LCHlch(54.76, 75.29, 317.59°)
OKLaboklab(63.37% 0.1365 -0.1422)
OKLCHoklch(63.37% 0.197 313.8)
XYZxyz(35.6528, 22.7003, 70.1998)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DDC #85DC5D
analogous
#755DDC #B45DDC #DC5DC5
triadic
#B45DDC #DCB45D #5DDCB4
tetradic
#B45DDC #DC755D #85DC5D #5DC5DC
square
#B45DDC #DC755D #85DC5D #5DC5DC
split-complementary
#B45DDC #C5DC5D #5DDC75
monochromatic
#76229D #9C2DCF #B45DDC #CB8FE7 #E3C2F2

Accessibility & contrast

On white

3.79
#B45DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B45DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DDC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DDC#FFFFFF#000000##000000
##B45DDC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#5885D9
Tritanopia (blue-blind)
#B07394
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45ddc;
/* rgb */ color: rgb(180, 93, 220);
/* oklch */ color: oklch(63.4% 0.197 313.8);
Tailwind
colors: {
  custom: {
    50: '#cd8fe7',
    500: '#b45ddc',
    950: '#000000',
  },
}
SCSS
$custom: #b45ddc;
$custom-light: #cd8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ddc",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 281.102,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.19712,
    "h": 313.8
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#B45DDC
secondary
#C2E2B3
accent
#CC1952
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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