#B551BA#B551BA

#B551BA is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.183 H 325.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B551BA
RGBrgb(181, 81, 186)
HSLhsl(297, 43%, 52%)
HSVhsv(297, 56%, 73%)
CMYKcmyk(2.7%, 56.5%, 0%, 27.1%)
CIE-LABlab(50.98, 54.93, -37.29)
CIE-LCHlch(50.98, 66.39, 325.83°)
OKLaboklab(60.06% 0.1509 -0.103)
OKLCHoklch(60.06% 0.183 325.7)
XYZxyz(30.8608, 19.2555, 48.5360)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B551BA #56BA51
analogous
#8151BA #B551BA #BA518A
triadic
#B551BA #BAB551 #51BAB5
tetradic
#B551BA #BA8151 #56BA51 #518ABA
square
#B551BA #BA8151 #56BA51 #518ABA
split-complementary
#B551BA #8ABA51 #51BA81
monochromatic
#652968 #8F3A93 #B551BA #C87DCB #DAA9DD

Accessibility & contrast

On white

4.33
#B551BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B551BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B551BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B551BA#FFFFFF#000000##000000
##B551BA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#B95E7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b551ba;
/* rgb */ color: rgb(181, 81, 186);
/* oklch */ color: oklch(60.1% 0.183 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce87cf',
    500: '#b551ba',
    950: '#000000',
  },
}
SCSS
$custom: #b551ba;
$custom-light: #ce87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b551ba",
  "rgb": {
    "r": 181,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 297.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.18264,
    "h": 325.7
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#B551BA
secondary
#9FCA9D
accent
#D3555B
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B551BA

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

Preview Lab → · Contrast checker → · Palette generator →

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