#BD30B2#BD30B2

#BD30B2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.223 H 331.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BD30B2
RGBrgb(189, 48, 178)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 75%, 74%)
CMYKcmyk(0%, 74.6%, 5.8%, 25.9%)
CIE-LABlab(47.17, 68.45, -38.55)
CIE-LCHlch(47.17, 78.56, 330.61°)
OKLaboklab(57.4% 0.1958 -0.1062)
OKLCHoklch(57.4% 0.223 331.5)
XYZxyz(30.0791, 16.1495, 43.6438)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD30B2 #30BD3B
analogous
#8230BD #BD30B2 #BD306C
triadic
#BD30B2 #B2BD30 #30B2BD
tetradic
#BD30B2 #BD8230 #30BD3B #306CBD
square
#BD30B2 #BD8230 #30BD3B #306CBD
split-complementary
#BD30B2 #6CBD30 #30BD82
monochromatic
#5B1756 #8C2484 #BD30B2 #D456CA #E087DA

Accessibility & contrast

On white

4.97
#BD30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BD30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD30B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD30B2#FFFFFF#000000##FFFFFF
##BD30B21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B6
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#C5416F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bd30b2;
/* rgb */ color: rgb(189, 48, 178);
/* oklch */ color: oklch(57.4% 0.223 331.5);
Tailwind
colors: {
  custom: {
    50: '#d577c9',
    500: '#bd30b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd30b2;
$custom-light: #d577c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd30b2",
  "rgb": {
    "r": 189,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 304.681,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.22269,
    "h": 331.5
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#BD30B2
secondary
#7FCA85
accent
#E35145
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BD30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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