#BD57F2#BD57F2

#BD57F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 65.0% C 0.231 H 312.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BD57F2
RGBrgb(189, 87, 242)
HSLhsl(279, 86%, 65%)
HSVhsv(279, 64%, 95%)
CMYKcmyk(21.9%, 64%, 0%, 5.1%)
CIE-LABlab(56.13, 65.07, -60.86)
CIE-LCHlch(56.13, 89.10, 316.91°)
OKLaboklab(65.01% 0.1543 -0.1715)
OKLCHoklch(65.01% 0.231 312)
XYZxyz(40.4186, 24.0470, 86.4996)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD57F2 #8CF257
analogous
#7057F2 #BD57F2 #F257D9
triadic
#BD57F2 #F2BD57 #57F2BD
tetradic
#BD57F2 #F27057 #8CF257 #57D9F2
square
#BD57F2 #F27057 #8CF257 #57D9F2
split-complementary
#BD57F2 #D9F257 #57F270
monochromatic
#830FC0 #A71EEE #BD57F2 #D390F6 #EAC9FB

Accessibility & contrast

On white

3.61
#BD57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BD57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD57F2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD57F2#FFFFFF#000000##000000
##BD57F21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4989EE
Tritanopia (blue-blind)
#B7769D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bd57f2;
/* rgb */ color: rgb(189, 87, 242);
/* oklch */ color: oklch(65.0% 0.231 312.0);
Tailwind
colors: {
  custom: {
    50: '#d58df7',
    500: '#bd57f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd57f2;
$custom-light: #d58df7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd57f2",
  "rgb": {
    "r": 189,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 279.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.23069,
    "h": 312
  },
  "luminance": 0.24046
}

Semantic roles & 50–950 ramp

primary
#BD57F2
secondary
#CAEDB8
accent
#E20350
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #BD57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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