#B45CDB#B45CDB

#B45CDB is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.2% C 0.198 H 314.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B45CDB
RGBrgb(180, 92, 219)
HSLhsl(282, 64%, 61%)
HSVhsv(282, 58%, 86%)
CMYKcmyk(17.8%, 58%, 0%, 14.1%)
CIE-LABlab(54.53, 55.87, -50.59)
CIE-LCHlch(54.53, 75.37, 317.84°)
OKLaboklab(63.18% 0.1377 -0.1417)
OKLCHoklch(63.18% 0.198 314.2)
XYZxyz(35.4336, 22.4731, 69.4753)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CDB #83DB5C
analogous
#745CDB #B45CDB #DB5CC2
triadic
#B45CDB #DBB45C #5CDBB4
tetradic
#B45CDB #DB745C #83DB5C #5CC2DB
square
#B45CDB #DB745C #83DB5C #5CC2DB
split-complementary
#B45CDB #C2DB5C #5CDB74
monochromatic
#76229A #9C2DCD #B45CDB #CB8EE6 #E2C0F1

Accessibility & contrast

On white

3.82
#B45CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B45CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CDB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CDB#FFFFFF#000000##000000
##B45CDB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#5885D8
Tritanopia (blue-blind)
#B17293
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45cdb;
/* rgb */ color: rgb(180, 92, 219);
/* oklch */ color: oklch(63.2% 0.198 314.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ee7',
    500: '#b45cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b45cdb;
$custom-light: #cd8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cdb",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 281.575,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.19757,
    "h": 314.2
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#B45CDB
secondary
#C0E1B1
accent
#CC1A50
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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