#BB52BE#BB52BE

#BB52BE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.188 H 326.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB52BE
RGBrgb(187, 82, 190)
HSLhsl(298, 45%, 53%)
HSVhsv(298, 57%, 75%)
CMYKcmyk(1.6%, 56.8%, 0%, 25.5%)
CIE-LABlab(52.20, 56.78, -37.64)
CIE-LCHlch(52.20, 68.12, 326.46°)
OKLaboklab(61.18% 0.1568 -0.1038)
OKLCHoklch(61.18% 0.188 326.5)
XYZxyz(32.8045, 20.3190, 50.8993)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52BE #55BE52
analogous
#8552BE #BB52BE #BE528B
triadic
#BB52BE #BEBB52 #52BEBB
tetradic
#BB52BE #BE8552 #55BE52 #528BBE
square
#BB52BE #BE8552 #55BE52 #528BBE
split-complementary
#BB52BE #8BBE52 #52BE85
monochromatic
#6B296D #973A99 #BB52BE #CC7ECF #DEABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB52BE#FFFFFF#000000##000000
##BB52BE1.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)
#4574C1
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#C05F80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb52be;
/* rgb */ color: rgb(187, 82, 190);
/* oklch */ color: oklch(61.2% 0.188 326.5);
Tailwind
colors: {
  custom: {
    50: '#d288d2',
    500: '#bb52be',
    950: '#000000',
  },
}
SCSS
$custom: #bb52be;
$custom-light: #d288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52be",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 298.333,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.18808,
    "h": 326.5
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#BB52BE
secondary
#A0CD9F
accent
#D55356
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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