#BB72D9#BB72D9

#BB72D9 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.0% C 0.164 H 315.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BB72D9
RGBrgb(187, 114, 217)
HSLhsl(283, 58%, 65%)
HSVhsv(283, 47%, 85%)
CMYKcmyk(13.8%, 47.5%, 0%, 14.9%)
CIE-LABlab(59.53, 46.07, -41.48)
CIE-LCHlch(59.53, 61.99, 318.00°)
OKLaboklab(67.02% 0.1167 -0.1151)
OKLCHoklch(67.02% 0.164 315.4)
XYZxyz(39.0333, 27.6103, 68.9053)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB72D9 #90D972
analogous
#8772D9 #BB72D9 #D972C4
triadic
#BB72D9 #D9BB72 #72D9BB
tetradic
#BB72D9 #D98772 #90D972 #72C4D9
square
#BB72D9 #D98772 #90D972 #72C4D9
split-complementary
#BB72D9 #C4D972 #72D987
monochromatic
#812CA4 #A442CC #BB72D9 #D2A2E6 #E9D2F3

Accessibility & contrast

On white

3.22
#BB72D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BB72D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB72D9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB72D9#FFFFFF#000000##000000
##BB72D91.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDD
Deuteranopia (green-blind)
#7291D6
Tritanopia (blue-blind)
#B9819B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb72d9;
/* rgb */ color: rgb(187, 114, 217);
/* oklch */ color: oklch(67.0% 0.164 315.4);
Tailwind
colors: {
  custom: {
    50: '#d19ce5',
    500: '#bb72d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb72d9;
$custom-light: #d19ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb72d9",
  "rgb": {
    "r": 187,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 282.524,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67018,
    "c": 0.16397,
    "h": 315.4
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#BB72D9
secondary
#CCE5C2
accent
#C52050
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB72D9

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

Preview Lab → · Contrast checker → · Palette generator →

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