#B45BD2#B45BD2

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

Color values

HEX#B45BD2
RGBrgb(180, 91, 210)
HSLhsl(285, 57%, 59%)
HSVhsv(285, 57%, 82%)
CMYKcmyk(14.3%, 56.7%, 0%, 17.6%)
CIE-LABlab(53.86, 54.51, -46.54)
CIE-LCHlch(53.86, 71.67, 319.51°)
OKLaboklab(62.53% 0.1386 -0.1299)
OKLCHoklch(62.53% 0.19 316.8)
XYZxyz(34.1946, 21.8398, 63.3745)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BD2 #79D25B
analogous
#795BD2 #B45BD2 #D25BB5
triadic
#B45BD2 #D2B45B #5BD2B4
tetradic
#B45BD2 #D2795B #79D25B #5BB5D2
square
#B45BD2 #D2795B #79D25B #5BB5D2
split-complementary
#B45BD2 #B5D25B #5BD279
monochromatic
#73268C #9A34BC #B45BD2 #CA8BDF #E0BBEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45BD2#FFFFFF#000000##000000
##B45BD21.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)
#3E7BD6
Deuteranopia (green-blind)
#5E83CF
Tritanopia (blue-blind)
#B36E8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45bd2;
/* rgb */ color: rgb(180, 91, 210);
/* oklch */ color: oklch(62.5% 0.190 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd8de0',
    500: '#b45bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b45bd2;
$custom-light: #cd8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bd2",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 284.874,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6253,
    "c": 0.18994,
    "h": 316.8
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#B45BD2
secondary
#B9DCAD
accent
#E0486E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B45BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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