#B45DC8#B45DC8

#B45DC8 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.3% C 0.177 H 319.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B45DC8
RGBrgb(180, 93, 200)
HSLhsl(289, 49%, 57%)
HSVhsv(289, 54%, 78%)
CMYKcmyk(10%, 53.5%, 0%, 21.6%)
CIE-LABlab(53.71, 51.51, -41.07)
CIE-LCHlch(53.71, 65.88, 321.44°)
OKLaboklab(62.26% 0.1352 -0.114)
OKLCHoklch(62.26% 0.177 319.9)
XYZxyz(33.1608, 21.7035, 57.0748)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DC8 #71C85D
analogous
#7E5DC8 #B45DC8 #C85DA7
triadic
#B45DC8 #C8B45D #5DC8B4
tetradic
#B45DC8 #C87E5D #71C85D #5DA7C8
square
#B45DC8 #C87E5D #71C85D #5DA7C8
split-complementary
#B45DC8 #A7C85D #5DC87E
monochromatic
#702B7F #983BAD #B45DC8 #C98BD8 #DEB8E7

Accessibility & contrast

On white

3.93
#B45DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B45DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DC8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DC8#FFFFFF#000000##000000
##B45DC81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACC
Deuteranopia (green-blind)
#6583C5
Tritanopia (blue-blind)
#B56C8A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45dc8;
/* rgb */ color: rgb(180, 93, 200);
/* oklch */ color: oklch(62.3% 0.177 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ed9',
    500: '#b45dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b45dc8;
$custom-light: #cd8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dc8",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 288.785,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62256,
    "c": 0.17682,
    "h": 319.9
  },
  "luminance": 0.21702
}

Semantic roles & 50–950 ramp

primary
#B45DC8
secondary
#B3D6AB
accent
#D94F69
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B45DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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