#BB46DC#BB46DC

#BB46DC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.5% C 0.231 H 317.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB46DC
RGBrgb(187, 70, 220)
HSLhsl(287, 68%, 57%)
HSVhsv(287, 68%, 86%)
CMYKcmyk(15%, 68.2%, 0%, 13.7%)
CIE-LABlab(51.97, 67.46, -55.19)
CIE-LCHlch(51.97, 87.16, 320.72°)
OKLaboklab(61.54% 0.1714 -0.1548)
OKLCHoklch(61.54% 0.231 317.9)
XYZxyz(35.6001, 20.1140, 69.7034)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46DC #67DC46
analogous
#7046DC #BB46DC #DC46B2
triadic
#BB46DC #DCBB46 #46DCBB
tetradic
#BB46DC #DC7046 #67DC46 #46B2DC
square
#BB46DC #DC7046 #67DC46 #46B2DC
split-complementary
#BB46DC #B2DC46 #46DC70
monochromatic
#741B8D #9E24C0 #BB46DC #CE79E6 #E1ADEF

Accessibility & contrast

On white

4.18
#BB46DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BB46DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46DC#FFFFFF#000000##000000
##BB46DC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#4C80D8
Tritanopia (blue-blind)
#BA638C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb46dc;
/* rgb */ color: rgb(187, 70, 220);
/* oklch */ color: oklch(61.5% 0.231 317.9);
Tailwind
colors: {
  custom: {
    50: '#d383e7',
    500: '#bb46dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb46dc;
$custom-light: #d383e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46dc",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 286.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.23096,
    "h": 317.9
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#BB46DC
secondary
#AEDDA0
accent
#EB3D63
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB46DC

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

Preview Lab → · Contrast checker → · Palette generator →

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