#BB74DB#BB74DB

#BB74DB is a light, vivid purple. Relative luminance 0.282; OKLCH L 67.4% C 0.163 H 314.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BB74DB
RGBrgb(187, 116, 219)
HSLhsl(281, 59%, 66%)
HSVhsv(281, 47%, 86%)
CMYKcmyk(14.6%, 47%, 0%, 14.1%)
CIE-LABlab(60.04, 45.43, -41.80)
CIE-LCHlch(60.04, 61.73, 317.38°)
OKLaboklab(67.43% 0.1142 -0.1161)
OKLCHoklch(67.43% 0.163 314.5)
XYZxyz(39.5230, 28.1711, 70.3597)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74DB #94DB74
analogous
#8774DB #BB74DB #DB74C7
triadic
#BB74DB #DBBB74 #74DBBB
tetradic
#BB74DB #DB8774 #94DB74 #74C7DB
square
#BB74DB #DB8774 #94DB74 #74C7DB
split-complementary
#BB74DB #C7DB74 #74DB87
monochromatic
#822CA9 #A343CE #BB74DB #D3A5E8 #EBD5F4

Accessibility & contrast

On white

3.17
#BB74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BB74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74DB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74DB#FFFFFF#000000##000000
##BB74DB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDF
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#B9839D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb74db;
/* rgb */ color: rgb(187, 116, 219);
/* oklch */ color: oklch(67.4% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#d19ee6',
    500: '#bb74db',
    950: '#000000',
  },
}
SCSS
$custom: #bb74db;
$custom-light: #d19ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74db",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 281.359,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.16287,
    "h": 314.5
  },
  "luminance": 0.2817
}

Semantic roles & 50–950 ramp

primary
#BB74DB
secondary
#CFE7C4
accent
#C61F53
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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