#B45CD2#B45CD2

#B45CD2 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.7% C 0.188 H 316.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B45CD2
RGBrgb(180, 92, 210)
HSLhsl(285, 57%, 59%)
HSVhsv(285, 56%, 82%)
CMYKcmyk(14.3%, 56.2%, 0%, 17.6%)
CIE-LABlab(54.04, 54.02, -46.25)
CIE-LCHlch(54.04, 71.11, 319.43°)
OKLaboklab(62.66% 0.1373 -0.1291)
OKLCHoklch(62.66% 0.188 316.8)
XYZxyz(34.2807, 22.0119, 63.4032)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD2 #7AD25C
analogous
#795CD2 #B45CD2 #D25CB5
triadic
#B45CD2 #D2B45C #5CD2B4
tetradic
#B45CD2 #D2795C #7AD25C #5CB5D2
square
#B45CD2 #D2795C #7AD25C #5CB5D2
split-complementary
#B45CD2 #B5D25C #5CD279
monochromatic
#73278D #9A34BD #B45CD2 #CA8CDF #E0BCEC

Accessibility & contrast

On white

3.89
#B45CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B45CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CD2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CD2#FFFFFF#000000##000000
##B45CD21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#5E84CF
Tritanopia (blue-blind)
#B36F8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45cd2;
/* rgb */ color: rgb(180, 92, 210);
/* oklch */ color: oklch(62.7% 0.188 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd8ee0',
    500: '#b45cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd2;
$custom-light: #cd8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd2",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 284.746,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62664,
    "c": 0.18843,
    "h": 316.8
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#B45CD2
secondary
#BADCAE
accent
#E0486E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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