#BD1FB8#BD1FB8

#BD1FB8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.241 H 329.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BD1FB8
RGBrgb(189, 31, 184)
HSLhsl(302, 72%, 43%)
HSVhsv(302, 84%, 74%)
CMYKcmyk(0%, 83.6%, 2.6%, 25.9%)
CIE-LABlab(45.99, 73.71, -43.94)
CIE-LCHlch(45.99, 85.82, 329.20°)
OKLaboklab(56.67% 0.2083 -0.1217)
OKLCHoklch(56.67% 0.241 329.7)
XYZxyz(30.1278, 15.2619, 46.6972)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD1FB8 #1FBD24
analogous
#731FBD #BD1FB8 #BD1F69
triadic
#BD1FB8 #B8BD1F #1FB8BD
tetradic
#BD1FB8 #BD731F #1FBD24 #1F69BD
square
#BD1FB8 #BD731F #1FBD24 #1F69BD
split-complementary
#BD1FB8 #69BD1F #1FBD73
monochromatic
#540E52 #881685 #BD1FB8 #DF3ADA #E76FE4

Accessibility & contrast

On white

5.18
#BD1FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BD1FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD1FB8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD1FB8#FFFFFF#000000##FFFFFF
##BD1FB81.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#C43B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd1fb8;
/* rgb */ color: rgb(189, 31, 184);
/* oklch */ color: oklch(56.7% 0.241 329.7);
Tailwind
colors: {
  custom: {
    50: '#d572ce',
    500: '#bd1fb8',
    950: '#000000',
  },
}
SCSS
$custom: #bd1fb8;
$custom-light: #d572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd1fb8",
  "rgb": {
    "r": 189,
    "g": 31,
    "b": 184
  },
  "hsl": {
    "h": 301.899,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.24122,
    "h": 329.7
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#BD1FB8
secondary
#6ACE6D
accent
#EF3F39
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD1FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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