#BB23AE#BB23AE

#BB23AE is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.231 H 332.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BB23AE
RGBrgb(187, 35, 174)
HSLhsl(305, 68%, 44%)
HSVhsv(305, 81%, 73%)
CMYKcmyk(0%, 81.3%, 7%, 26.7%)
CIE-LABlab(45.39, 70.95, -39.02)
CIE-LCHlch(45.39, 80.97, 331.19°)
OKLaboklab(56% 0.2039 -0.1075)
OKLCHoklch(56% 0.231 332.2)
XYZxyz(28.7346, 14.8253, 41.3844)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23AE #23BB30
analogous
#7C23BB #BB23AE #BB2362
triadic
#BB23AE #AEBB23 #23AEBB
tetradic
#BB23AE #BB7C23 #23BB30 #2362BB
square
#BB23AE #BB7C23 #23BB30 #2362BB
split-complementary
#BB23AE #62BB23 #23BB7C
monochromatic
#54104E #87197E #BB23AE #DB40CE #E574DB

Accessibility & contrast

On white

5.30
#BB23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BB23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23AE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23AE#FFFFFF#000000##FFFFFF
##BB23AE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB2
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#C33869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb23ae;
/* rgb */ color: rgb(187, 35, 174);
/* oklch */ color: oklch(56.0% 0.231 332.2);
Tailwind
colors: {
  custom: {
    50: '#d472c6',
    500: '#bb23ae',
    950: '#000000',
  },
}
SCSS
$custom: #bb23ae;
$custom-light: #d472c6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23ae",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 305.132,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.23053,
    "h": 332.2
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#BB23AE
secondary
#6ECC76
accent
#EB4B3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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