#BD30A6#BD30A6

#BD30A6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.214 H 335.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BD30A6
RGBrgb(189, 48, 166)
HSLhsl(310, 59%, 46%)
HSVhsv(310, 75%, 74%)
CMYKcmyk(0%, 74.6%, 12.2%, 25.9%)
CIE-LABlab(46.56, 66.65, -32.42)
CIE-LCHlch(46.56, 74.12, 334.07°)
OKLaboklab(56.77% 0.1951 -0.0885)
OKLCHoklch(56.77% 0.214 335.6)
XYZxyz(28.9266, 15.6885, 37.5737)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD30A6 #30BD47
analogous
#8E30BD #BD30A6 #BD3060
triadic
#BD30A6 #A6BD30 #30A6BD
tetradic
#BD30A6 #BD8E30 #30BD47 #3060BD
square
#BD30A6 #BD8E30 #30BD47 #3060BD
split-complementary
#BD30A6 #60BD30 #30BD8E
monochromatic
#5B1750 #8C247B #BD30A6 #D456C0 #E087D2

Accessibility & contrast

On white

5.08
#BD30A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BD30A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD30A6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD30A6#FFFFFF#000000##FFFFFF
##BD30A61.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#C73B68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd30a6;
/* rgb */ color: rgb(189, 48, 166);
/* oklch */ color: oklch(56.8% 0.214 335.6);
Tailwind
colors: {
  custom: {
    50: '#d577c1',
    500: '#bd30a6',
    950: '#000000',
  },
}
SCSS
$custom: #bd30a6;
$custom-light: #d577c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd30a6",
  "rgb": {
    "r": 189,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 309.787,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.21422,
    "h": 335.6
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#BD30A6
secondary
#7FCA8B
accent
#E35F45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BD30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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