#BB57D7#BB57D7

#BB57D7 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.2% C 0.204 H 318.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BB57D7
RGBrgb(187, 87, 215)
HSLhsl(287, 62%, 59%)
HSVhsv(287, 60%, 84%)
CMYKcmyk(13%, 59.5%, 0%, 15.7%)
CIE-LABlab(54.33, 59.16, -48.57)
CIE-LCHlch(54.33, 76.55, 320.61°)
OKLaboklab(63.16% 0.1522 -0.1356)
OKLCHoklch(63.16% 0.204 318.3)
XYZxyz(36.1658, 22.2890, 66.6740)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57D7 #73D757
analogous
#7B57D7 #BB57D7 #D757B3
triadic
#BB57D7 #D7BB57 #57D7BB
tetradic
#BB57D7 #D77B57 #73D757 #57B3D7
square
#BB57D7 #D77B57 #73D757 #57B3D7
split-complementary
#BB57D7 #B3D757 #57D77B
monochromatic
#792391 #A22EC2 #BB57D7 #CF88E3 #E3BAEF

Accessibility & contrast

On white

3.85
#BB57D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#BB57D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57D7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57D7#FFFFFF#000000##000000
##BB57D71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#5D85D4
Tritanopia (blue-blind)
#BB6C8F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb57d7;
/* rgb */ color: rgb(187, 87, 215);
/* oklch */ color: oklch(63.2% 0.204 318.3);
Tailwind
colors: {
  custom: {
    50: '#d28ce4',
    500: '#bb57d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb57d7;
$custom-light: #d28ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57d7",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 286.875,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.20382,
    "h": 318.3
  },
  "luminance": 0.22287
}

Semantic roles & 50–950 ramp

primary
#BB57D7
secondary
#B7DEAC
accent
#E54366
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BB57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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