#BB74DC#BB74DC

#BB74DC is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.5% C 0.164 H 314.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#BB74DC
RGBrgb(187, 116, 220)
HSLhsl(281, 60%, 66%)
HSVhsv(281, 47%, 86%)
CMYKcmyk(15%, 47.3%, 0%, 13.7%)
CIE-LABlab(60.09, 45.64, -42.29)
CIE-LCHlch(60.09, 62.22, 317.18°)
OKLaboklab(67.48% 0.1144 -0.1175)
OKLCHoklch(67.48% 0.164 314.2)
XYZxyz(39.6551, 28.2239, 71.0551)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74DC #95DC74
analogous
#8774DC #BB74DC #DC74C9
triadic
#BB74DC #DCBB74 #74DCBB
tetradic
#BB74DC #DC8774 #95DC74 #74C9DC
square
#BB74DC #DC8774 #95DC74 #74C9DC
split-complementary
#BB74DC #C9DC74 #74DC87
monochromatic
#822BAB #A343D0 #BB74DC #D3A5E8 #EBD6F5

Accessibility & contrast

On white

3.16
#BB74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#BB74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74DC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74DC#FFFFFF#000000##000000
##BB74DC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE0
Deuteranopia (green-blind)
#7293D9
Tritanopia (blue-blind)
#B9849E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb74dc;
/* rgb */ color: rgb(187, 116, 220);
/* oklch */ color: oklch(67.5% 0.164 314.2);
Tailwind
colors: {
  custom: {
    50: '#d19ee7',
    500: '#bb74dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb74dc;
$custom-light: #d19ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74dc",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 280.962,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67478,
    "c": 0.16397,
    "h": 314.2
  },
  "luminance": 0.28223
}

Semantic roles & 50–950 ramp

primary
#BB74DC
secondary
#D0E7C5
accent
#C71E54
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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