#B45CD3#B45CD3

#B45CD3 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.7% C 0.189 H 316.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B45CD3
RGBrgb(180, 92, 211)
HSLhsl(284, 57%, 59%)
HSVhsv(284, 56%, 83%)
CMYKcmyk(14.7%, 56.4%, 0%, 17.3%)
CIE-LABlab(54.09, 54.22, -46.74)
CIE-LCHlch(54.09, 71.58, 319.24°)
OKLaboklab(62.72% 0.1373 -0.1305)
OKLCHoklch(62.72% 0.189 316.5)
XYZxyz(34.4057, 22.0619, 64.0614)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD3 #7BD35C
analogous
#795CD3 #B45CD3 #D35CB6
triadic
#B45CD3 #D3B45C #5CD3B4
tetradic
#B45CD3 #D3795C #7BD35C #5CB6D3
square
#B45CD3 #D3795C #7BD35C #5CB6D3
split-complementary
#B45CD3 #B6D35C #5CD379
monochromatic
#73268E #9A33BE #B45CD3 #CA8CE0 #E0BCED

Accessibility & contrast

On white

3.88
#B45CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B45CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CD3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CD3#FFFFFF#000000##000000
##B45CD31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#5E84D0
Tritanopia (blue-blind)
#B36F8F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b45cd3;
/* rgb */ color: rgb(180, 92, 211);
/* oklch */ color: oklch(62.7% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ee1',
    500: '#b45cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd3;
$custom-light: #cd8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd3",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 284.37,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.18944,
    "h": 316.5
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#B45CD3
secondary
#BADDAE
accent
#E1476F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B45CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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