#B45CD4#B45CD4

#B45CD4 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.190 H 316.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B45CD4
RGBrgb(180, 92, 212)
HSLhsl(284, 58%, 60%)
HSVhsv(284, 57%, 83%)
CMYKcmyk(15.1%, 56.6%, 0%, 16.9%)
CIE-LABlab(54.15, 54.42, -47.22)
CIE-LCHlch(54.15, 72.05, 319.05°)
OKLaboklab(62.78% 0.1374 -0.1319)
OKLCHoklch(62.78% 0.19 316.2)
XYZxyz(34.5314, 22.1122, 64.7237)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD4 #7CD45C
analogous
#785CD4 #B45CD4 #D45CB8
triadic
#B45CD4 #D4B45C #5CD4B4
tetradic
#B45CD4 #D4785C #7CD45C #5CB8D4
square
#B45CD4 #D4785C #7CD45C #5CB8D4
split-complementary
#B45CD4 #B8D45C #5CD478
monochromatic
#732690 #9A33C0 #B45CD4 #CA8CE1 #E1BDEE

Accessibility & contrast

On white

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

On black

5.42
#B45CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CD4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CD4#FFFFFF#000000##000000
##B45CD41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#5D84D1
Tritanopia (blue-blind)
#B2708F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45cd4;
/* rgb */ color: rgb(180, 92, 212);
/* oklch */ color: oklch(62.8% 0.190 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ee2',
    500: '#b45cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd4;
$custom-light: #cd8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd4",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 284,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62776,
    "c": 0.19045,
    "h": 316.2
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#B45CD4
secondary
#BBDDAF
accent
#E14670
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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