#BB37D9#BB37D9

#BB37D9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.245 H 319.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB37D9
RGBrgb(187, 55, 217)
HSLhsl(289, 68%, 53%)
HSVhsv(289, 75%, 85%)
CMYKcmyk(13.8%, 74.7%, 0%, 14.9%)
CIE-LABlab(49.87, 72.35, -56.85)
CIE-LCHlch(49.87, 92.01, 321.84°)
OKLaboklab(59.99% 0.1859 -0.1596)
OKLCHoklch(59.99% 0.245 319.4)
XYZxyz(34.3825, 18.3086, 67.3550)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB37D9 #55D937
analogous
#6A37D9 #BB37D9 #D937A6
triadic
#BB37D9 #D9BB37 #37D9BB
tetradic
#BB37D9 #D96A37 #55D937 #37A6D9
square
#BB37D9 #D96A37 #55D937 #37A6D9
split-complementary
#BB37D9 #A6D937 #37D96A
monochromatic
#6B187E #9722B1 #BB37D9 #CC6AE3 #DE9EED

Accessibility & contrast

On white

4.51
#BB37D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BB37D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB37D9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB37D9#FFFFFF#000000##000000
##BB37D91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#BB5986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb37d9;
/* rgb */ color: rgb(187, 55, 217);
/* oklch */ color: oklch(60.0% 0.245 319.4);
Tailwind
colors: {
  custom: {
    50: '#d47be5',
    500: '#bb37d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb37d9;
$custom-light: #d47be5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb37d9",
  "rgb": {
    "r": 187,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 288.889,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.24498,
    "h": 319.4
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#BB37D9
secondary
#A0D993
accent
#EB3D5D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB37D9

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

Preview Lab → · Contrast checker → · Palette generator →

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