#BB48DB#BB48DB

#BB48DB is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.228 H 318.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB48DB
RGBrgb(187, 72, 219)
HSLhsl(287, 67%, 57%)
HSVhsv(287, 67%, 86%)
CMYKcmyk(14.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(52.19, 66.47, -54.26)
CIE-LCHlch(52.19, 85.80, 320.78°)
OKLaboklab(61.68% 0.1694 -0.1521)
OKLCHoklch(61.68% 0.228 318.1)
XYZxyz(35.5953, 20.3155, 69.0504)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48DB #68DB48
analogous
#7248DB #BB48DB #DB48B1
triadic
#BB48DB #DBBB48 #48DBBB
tetradic
#BB48DB #DB7248 #68DB48 #48B1DB
square
#BB48DB #DB7248 #68DB48 #48B1DB
split-complementary
#BB48DB #B1DB48 #48DB72
monochromatic
#741C8D #9E26C0 #BB48DB #CE7BE5 #E1AEEF

Accessibility & contrast

On white

4.15
#BB48DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB48DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48DB#FFFFFF#000000##000000
##BB48DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#BA638C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb48db;
/* rgb */ color: rgb(187, 72, 219);
/* oklch */ color: oklch(61.7% 0.228 318.1);
Tailwind
colors: {
  custom: {
    50: '#d384e7',
    500: '#bb48db',
    950: '#000000',
  },
}
SCSS
$custom: #bb48db;
$custom-light: #d384e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48db",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 286.939,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.22763,
    "h": 318.1
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#BB48DB
secondary
#AFDDA2
accent
#EA3E63
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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