#BB45CA#BB45CA

#BB45CA is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 323.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BB45CA
RGBrgb(187, 69, 202)
HSLhsl(293, 56%, 53%)
HSVhsv(293, 66%, 79%)
CMYKcmyk(7.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(50.79, 64.53, -46.78)
CIE-LCHlch(50.79, 79.71, 324.06°)
OKLaboklab(60.36% 0.173 -0.1303)
OKLCHoklch(60.36% 0.217 323)
XYZxyz(33.2813, 19.0872, 57.7968)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45CA #54CA45
analogous
#7845CA #BB45CA #CA4596
triadic
#BB45CA #CABB45 #45CABB
tetradic
#BB45CA #CA7845 #54CA45 #4596CA
square
#BB45CA #CA7845 #54CA45 #4596CA
split-complementary
#BB45CA #96CA45 #45CA78
monochromatic
#6A2174 #962FA3 #BB45CA #CC75D8 #DEA4E5

Accessibility & contrast

On white

4.36
#BB45CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BB45CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45CA#FFFFFF#000000##000000
##BB45CA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#BE5B82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb45ca;
/* rgb */ color: rgb(187, 69, 202);
/* oklch */ color: oklch(60.4% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#d381db',
    500: '#bb45ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb45ca;
$custom-light: #d381db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45ca",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 293.233,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.21652,
    "h": 323
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#BB45CA
secondary
#9FD299
accent
#DF495A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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