#BD57EC#BD57EC

#BD57EC is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.225 H 313.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BD57EC
RGBrgb(189, 87, 236)
HSLhsl(281, 80%, 63%)
HSVhsv(281, 63%, 93%)
CMYKcmyk(19.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(55.78, 63.84, -58.08)
CIE-LCHlch(55.78, 86.31, 317.70°)
OKLaboklab(64.64% 0.1546 -0.1633)
OKLCHoklch(64.64% 0.225 313.4)
XYZxyz(39.5322, 23.6925, 81.8313)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD57EC #86EC57
analogous
#7257EC #BD57EC #EC57D0
triadic
#BD57EC #ECBD57 #57ECBD
tetradic
#BD57EC #EC7257 #86EC57 #57D0EC
square
#BD57EC #EC7257 #86EC57 #57D0EC
split-complementary
#BD57EC #D0EC57 #57EC72
monochromatic
#8214B4 #A720E6 #BD57EC #D38EF2 #E8C5F8

Accessibility & contrast

On white

3.66
#BD57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BD57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD57EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD57EC#FFFFFF#000000##000000
##BD57EC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F1
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#B8739A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bd57ec;
/* rgb */ color: rgb(189, 87, 236);
/* oklch */ color: oklch(64.6% 0.225 313.4);
Tailwind
colors: {
  custom: {
    50: '#d58cf3',
    500: '#bd57ec',
    950: '#000000',
  },
}
SCSS
$custom: #bd57ec;
$custom-light: #d58cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd57ec",
  "rgb": {
    "r": 189,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 281.074,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64641,
    "c": 0.22487,
    "h": 313.4
  },
  "luminance": 0.23691
}

Semantic roles & 50–950 ramp

primary
#BD57EC
secondary
#C6EAB5
accent
#DC0A4C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #BD57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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