#BD51CA#BD51CA

#BD51CA is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.201 H 323.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BD51CA
RGBrgb(189, 81, 202)
HSLhsl(294, 53%, 55%)
HSVhsv(294, 60%, 79%)
CMYKcmyk(6.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(52.92, 59.92, -43.39)
CIE-LCHlch(52.92, 73.98, 324.09°)
OKLaboklab(61.96% 0.1613 -0.1204)
OKLCHoklch(61.96% 0.201 323.3)
XYZxyz(34.5883, 20.9698, 58.0914)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD51CA #5ECA51
analogous
#8151CA #BD51CA #CA519A
triadic
#BD51CA #CABD51 #51CABD
tetradic
#BD51CA #CA8151 #5ECA51 #519ACA
square
#BD51CA #CA8151 #5ECA51 #519ACA
split-complementary
#BD51CA #9ACA51 #51CA81
monochromatic
#72257B #9D34AA #BD51CA #CF80D8 #E1AFE7

Accessibility & contrast

On white

4.04
#BD51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BD51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD51CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD51CA#FFFFFF#000000##000000
##BD51CA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#6283C7
Tritanopia (blue-blind)
#C06386
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd51ca;
/* rgb */ color: rgb(189, 81, 202);
/* oklch */ color: oklch(62.0% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#d488da',
    500: '#bd51ca',
    950: '#000000',
  },
}
SCSS
$custom: #bd51ca;
$custom-light: #d488da;
$custom-dark: #000000;
JSON
{
  "hex": "#bd51ca",
  "rgb": {
    "r": 189,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 293.554,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.20129,
    "h": 323.3
  },
  "luminance": 0.20968
}

Semantic roles & 50–950 ramp

primary
#BD51CA
secondary
#A8D5A2
accent
#DD4B5B
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #BD51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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