#BD57B2#BD57B2

#BD57B2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.171 H 331.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BD57B2
RGBrgb(189, 87, 178)
HSLhsl(306, 44%, 54%)
HSVhsv(306, 54%, 74%)
CMYKcmyk(0%, 54%, 5.8%, 25.9%)
CIE-LABlab(52.79, 52.89, -29.74)
CIE-LCHlch(52.79, 60.68, 330.65°)
OKLaboklab(61.49% 0.1508 -0.0812)
OKLCHoklch(61.49% 0.171 331.7)
XYZxyz(32.4302, 20.8517, 44.4275)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD57B2 #57BD62
analogous
#9557BD #BD57B2 #BD577F
triadic
#BD57B2 #B2BD57 #57B2BD
tetradic
#BD57B2 #BD9557 #57BD62 #577FBD
square
#BD57B2 #BD9557 #57BD62 #577FBD
split-complementary
#BD57B2 #7FBD57 #57BD95
monochromatic
#6E2B67 #9A3D90 #BD57B2 #CE83C6 #E0AFDA

Accessibility & contrast

On white

4.06
#BD57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BD57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD57B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD57B2#FFFFFF#000000##000000
##BD57B21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#C45F7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd57b2;
/* rgb */ color: rgb(189, 87, 178);
/* oklch */ color: oklch(61.5% 0.171 331.7);
Tailwind
colors: {
  custom: {
    50: '#d38bc9',
    500: '#bd57b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd57b2;
$custom-light: #d38bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd57b2",
  "rgb": {
    "r": 189,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 306.471,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.17128,
    "h": 331.7
  },
  "luminance": 0.2085
}

Semantic roles & 50–950 ramp

primary
#BD57B2
secondary
#A2CEA7
accent
#D36254
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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