#B45DCB#B45DCB

#B45DCB is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.4% C 0.180 H 318.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B45DCB
RGBrgb(180, 93, 203)
HSLhsl(287, 51%, 58%)
HSVhsv(287, 54%, 80%)
CMYKcmyk(11.3%, 54.2%, 0%, 20.4%)
CIE-LABlab(53.86, 52.11, -42.54)
CIE-LCHlch(53.86, 67.27, 320.77°)
OKLaboklab(62.42% 0.1354 -0.1183)
OKLCHoklch(62.42% 0.18 318.9)
XYZxyz(33.5148, 21.8451, 58.9394)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DCB #74CB5D
analogous
#7D5DCB #B45DCB #CB5DAB
triadic
#B45DCB #CBB45D #5DCBB4
tetradic
#B45DCB #CB7D5D #74CB5D #5DABCB
square
#B45DCB #CB7D5D #74CB5D #5DABCB
split-complementary
#B45DCB #ABCB5D #5DCB7D
monochromatic
#712A83 #9939B2 #B45DCB #C98BDA #DFBAE9

Accessibility & contrast

On white

3.91
#B45DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B45DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DCB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DCB#FFFFFF#000000##000000
##B45DCB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#6384C8
Tritanopia (blue-blind)
#B46D8B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45dcb;
/* rgb */ color: rgb(180, 93, 203);
/* oklch */ color: oklch(62.4% 0.180 318.9);
Tailwind
colors: {
  custom: {
    50: '#cd8fdb',
    500: '#b45dcb',
    950: '#000000',
  },
}
SCSS
$custom: #b45dcb;
$custom-light: #cd8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dcb",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 287.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62416,
    "c": 0.17983,
    "h": 318.9
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#B45DCB
secondary
#B5D8AC
accent
#DB4D6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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