#BB51AA#BB51AA

#BB51AA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.173 H 334.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB51AA
RGBrgb(187, 81, 170)
HSLhsl(310, 44%, 53%)
HSVhsv(310, 57%, 73%)
CMYKcmyk(0%, 56.7%, 9.1%, 26.7%)
CIE-LABlab(51.10, 53.81, -27.72)
CIE-LCHlch(51.10, 60.53, 332.74°)
OKLaboklab(60.07% 0.1554 -0.0754)
OKLCHoklch(60.07% 0.173 334.1)
XYZxyz(30.6917, 19.3542, 40.1416)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51AA #51BB62
analogous
#9751BB #BB51AA #BB5175
triadic
#BB51AA #AABB51 #51AABB
tetradic
#BB51AA #BB9751 #51BB62 #5175BB
square
#BB51AA #BB9751 #51BB62 #5175BB
split-complementary
#BB51AA #75BB51 #51BB97
monochromatic
#69295E #953A86 #BB51AA #CC7DBF #DDA9D5

Accessibility & contrast

On white

4.31
#BB51AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BB51AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51AA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51AA#FFFFFF#000000##000000
##BB51AA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#707FA7
Tritanopia (blue-blind)
#C35876
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb51aa;
/* rgb */ color: rgb(187, 81, 170);
/* oklch */ color: oklch(60.1% 0.173 334.1);
Tailwind
colors: {
  custom: {
    50: '#d287c3',
    500: '#bb51aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb51aa;
$custom-light: #d287c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51aa",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 309.623,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.17274,
    "h": 334.1
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#BB51AA
secondary
#9DCBA4
accent
#D46954
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB51AA

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

Preview Lab → · Contrast checker → · Palette generator →

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