#BD45D8#BD45D8

#BD45D8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.229 H 319.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BD45D8
RGBrgb(189, 69, 216)
HSLhsl(289, 65%, 56%)
HSVhsv(289, 68%, 85%)
CMYKcmyk(12.5%, 68.1%, 0%, 15.3%)
CIE-LABlab(51.88, 67.54, -53.04)
CIE-LCHlch(51.88, 85.87, 321.85°)
OKLaboklab(61.46% 0.175 -0.1485)
OKLCHoklch(61.46% 0.229 319.7)
XYZxyz(35.5075, 20.0346, 66.9492)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD45D8 #60D845
analogous
#7445D8 #BD45D8 #D845A9
triadic
#BD45D8 #D8BD45 #45D8BD
tetradic
#BD45D8 #D87445 #60D845 #45A9D8
square
#BD45D8 #D87445 #60D845 #45A9D8
split-complementary
#BD45D8 #A9D845 #45D874
monochromatic
#731C86 #9E27B9 #BD45D8 #CF78E3 #E1AAED

Accessibility & contrast

On white

4.19
#BD45D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BD45D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD45D8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD45D8#FFFFFF#000000##000000
##BD45D81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#5180D4
Tritanopia (blue-blind)
#BD608A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd45d8;
/* rgb */ color: rgb(189, 69, 216);
/* oklch */ color: oklch(61.5% 0.229 319.7);
Tailwind
colors: {
  custom: {
    50: '#d582e5',
    500: '#bd45d8',
    950: '#000000',
  },
}
SCSS
$custom: #bd45d8;
$custom-light: #d582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd45d8",
  "rgb": {
    "r": 189,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 288.98,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.22947,
    "h": 319.7
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#BD45D8
secondary
#A9DB9E
accent
#E8405F
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BD45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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