#BB57D2#BB57D2

#BB57D2 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.199 H 319.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BB57D2
RGBrgb(187, 87, 210)
HSLhsl(289, 58%, 58%)
HSVhsv(289, 59%, 82%)
CMYKcmyk(11%, 58.6%, 0%, 17.6%)
CIE-LABlab(54.07, 58.19, -46.16)
CIE-LCHlch(54.07, 74.27, 321.58°)
OKLaboklab(62.88% 0.152 -0.1286)
OKLCHoklch(62.88% 0.199 319.8)
XYZxyz(35.5331, 22.0359, 63.3419)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57D2 #6ED257
analogous
#7D57D2 #BB57D2 #D257AC
triadic
#BB57D2 #D2BB57 #57D2BB
tetradic
#BB57D2 #D27D57 #6ED257 #57ACD2
square
#BB57D2 #D27D57 #6ED257 #57ACD2
split-complementary
#BB57D2 #ACD257 #57D27D
monochromatic
#77258A #A132BA #BB57D2 #CF87DF #E2B8EC

Accessibility & contrast

On white

3.88
#BB57D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BB57D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57D2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57D2#FFFFFF#000000##000000
##BB57D21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#6085CF
Tritanopia (blue-blind)
#BC6A8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb57d2;
/* rgb */ color: rgb(187, 87, 210);
/* oklch */ color: oklch(62.9% 0.199 319.8);
Tailwind
colors: {
  custom: {
    50: '#d28ce0',
    500: '#bb57d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb57d2;
$custom-light: #d28ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57d2",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 288.78,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.19906,
    "h": 319.8
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#BB57D2
secondary
#B3DBAA
accent
#E14764
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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