#BD30A8#BD30A8

#BD30A8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.216 H 334.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BD30A8
RGBrgb(189, 48, 168)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 75%, 74%)
CMYKcmyk(0%, 74.6%, 11.1%, 25.9%)
CIE-LABlab(46.66, 66.95, -33.45)
CIE-LCHlch(46.66, 74.84, 333.45°)
OKLaboklab(56.87% 0.1952 -0.0915)
OKLCHoklch(56.87% 0.216 334.9)
XYZxyz(29.1115, 15.7625, 38.5475)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD30A8 #30BD45
analogous
#8C30BD #BD30A8 #BD3062
triadic
#BD30A8 #A8BD30 #30A8BD
tetradic
#BD30A8 #BD8C30 #30BD45 #3062BD
square
#BD30A8 #BD8C30 #30BD45 #3062BD
split-complementary
#BD30A8 #62BD30 #30BD8C
monochromatic
#5B1751 #8C247D #BD30A8 #D456C1 #E087D3

Accessibility & contrast

On white

5.06
#BD30A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BD30A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD30A8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD30A8#FFFFFF#000000##FFFFFF
##BD30A81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AB
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#C63C69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bd30a8;
/* rgb */ color: rgb(189, 48, 168);
/* oklch */ color: oklch(56.9% 0.216 334.9);
Tailwind
colors: {
  custom: {
    50: '#d577c2',
    500: '#bd30a8',
    950: '#000000',
  },
}
SCSS
$custom: #bd30a8;
$custom-light: #d577c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd30a8",
  "rgb": {
    "r": 189,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 308.936,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.2156,
    "h": 334.9
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#BD30A8
secondary
#7FCA8A
accent
#E35D45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BD30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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