#BD2FA8#BD2FA8

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

Color values

HEX#BD2FA8
RGBrgb(189, 47, 168)
HSLhsl(309, 60%, 46%)
HSVhsv(309, 75%, 74%)
CMYKcmyk(0%, 75.1%, 11.1%, 25.9%)
CIE-LABlab(46.55, 67.25, -33.62)
CIE-LCHlch(46.55, 75.19, 333.44°)
OKLaboklab(56.8% 0.1962 -0.0919)
OKLCHoklch(56.8% 0.217 334.9)
XYZxyz(29.0710, 15.6816, 38.5340)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD2FA8 #2FBD44
analogous
#8B2FBD #BD2FA8 #BD2F61
triadic
#BD2FA8 #A8BD2F #2FA8BD
tetradic
#BD2FA8 #BD8B2F #2FBD44 #2F61BD
square
#BD2FA8 #BD8B2F #2FBD44 #2F61BD
split-complementary
#BD2FA8 #61BD2F #2FBD8B
monochromatic
#5B1751 #8C237C #BD2FA8 #D555C2 #E186D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD2FA8#FFFFFF#000000##FFFFFF
##BD2FA81.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)
#2E61AB
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#C63B69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd2fa8;
/* rgb */ color: rgb(189, 47, 168);
/* oklch */ color: oklch(56.8% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#d577c2',
    500: '#bd2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bd2fa8;
$custom-light: #d577c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd2fa8",
  "rgb": {
    "r": 189,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 308.873,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.21663,
    "h": 334.9
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#BD2FA8
secondary
#7ECA89
accent
#E35C44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BD2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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