#BB51CA#BB51CA

#BB51CA is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.200 H 322.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB51CA
RGBrgb(187, 81, 202)
HSLhsl(293, 53%, 55%)
HSVhsv(293, 60%, 79%)
CMYKcmyk(7.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(52.64, 59.42, -43.85)
CIE-LCHlch(52.64, 73.85, 323.57°)
OKLaboklab(61.7% 0.159 -0.1218)
OKLCHoklch(61.7% 0.2 322.5)
XYZxyz(34.0955, 20.7157, 58.0683)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51CA #60CA51
analogous
#7E51CA #BB51CA #CA519C
triadic
#BB51CA #CABB51 #51CABB
tetradic
#BB51CA #CA7E51 #60CA51 #519CCA
square
#BB51CA #CA7E51 #60CA51 #519CCA
split-complementary
#BB51CA #9CCA51 #51CA7E
monochromatic
#70257B #9B34AA #BB51CA #CD80D8 #E0AFE7

Accessibility & contrast

On white

4.08
#BB51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BB51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51CA#FFFFFF#000000##000000
##BB51CA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#BE6386
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb51ca;
/* rgb */ color: rgb(187, 81, 202);
/* oklch */ color: oklch(61.7% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#d288da',
    500: '#bb51ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ca;
$custom-light: #d288da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ca",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 292.562,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.20029,
    "h": 322.5
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#BB51CA
secondary
#A8D5A2
accent
#DD4B5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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