#BB74DD#BB74DD

#BB74DD is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.5% C 0.165 H 313.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BB74DD
RGBrgb(187, 116, 221)
HSLhsl(281, 61%, 66%)
HSVhsv(281, 48%, 87%)
CMYKcmyk(15.4%, 47.5%, 0%, 13.3%)
CIE-LABlab(60.14, 45.85, -42.77)
CIE-LCHlch(60.14, 62.70, 316.99°)
OKLaboklab(67.53% 0.1145 -0.1189)
OKLCHoklch(67.53% 0.165 313.9)
XYZxyz(39.7879, 28.2770, 71.7546)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB74DD #96DD74
analogous
#8674DD #BB74DD #DD74CB
triadic
#BB74DD #DDBB74 #74DDBB
tetradic
#BB74DD #DD8674 #96DD74 #74CBDD
square
#BB74DD #DD8674 #96DD74 #74CBDD
split-complementary
#BB74DD #CBDD74 #74DD86
monochromatic
#822AAC #A343D1 #BB74DD #D3A5E9 #EBD6F5

Accessibility & contrast

On white

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

On black

6.66
#BB74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB74DD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB74DD#FFFFFF#000000##000000
##BB74DD1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE1
Deuteranopia (green-blind)
#7293DA
Tritanopia (blue-blind)
#B8849E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #bb74dd;
/* rgb */ color: rgb(187, 116, 221);
/* oklch */ color: oklch(67.5% 0.165 313.9);
Tailwind
colors: {
  custom: {
    50: '#d19ee8',
    500: '#bb74dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb74dd;
$custom-light: #d19ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb74dd",
  "rgb": {
    "r": 187,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 280.571,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.16508,
    "h": 313.9
  },
  "luminance": 0.28276
}

Semantic roles & 50–950 ramp

primary
#BB74DD
secondary
#D0E8C5
accent
#C81D55
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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