#B45CD5#B45CD5

#B45CD5 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.8% C 0.191 H 315.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B45CD5
RGBrgb(180, 92, 213)
HSLhsl(284, 59%, 60%)
HSVhsv(284, 57%, 84%)
CMYKcmyk(15.5%, 56.8%, 0%, 16.5%)
CIE-LABlab(54.20, 54.63, -47.71)
CIE-LCHlch(54.20, 72.53, 318.87°)
OKLaboklab(62.83% 0.1374 -0.1333)
OKLCHoklch(62.83% 0.191 315.9)
XYZxyz(34.6579, 22.1628, 65.3901)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD5 #7DD55C
analogous
#775CD5 #B45CD5 #D55CBA
triadic
#B45CD5 #D5B45C #5CD5B4
tetradic
#B45CD5 #D5775C #7DD55C #5CBAD5
square
#B45CD5 #D5775C #7DD55C #5CBAD5
split-complementary
#B45CD5 #BAD55C #5CD577
monochromatic
#742591 #9B32C2 #B45CD5 #CA8DE2 #E1BDEE

Accessibility & contrast

On white

3.87
#B45CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B45CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CD5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CD5#FFFFFF#000000##000000
##B45CD51.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#5C84D2
Tritanopia (blue-blind)
#B27090
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45cd5;
/* rgb */ color: rgb(180, 92, 213);
/* oklch */ color: oklch(62.8% 0.191 315.9);
Tailwind
colors: {
  custom: {
    50: '#cd8ee2',
    500: '#b45cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd5;
$custom-light: #cd8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd5",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 283.636,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.19146,
    "h": 315.9
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#B45CD5
secondary
#BCDEAF
accent
#E24670
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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