#B552BA#B552BA

#B552BA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.181 H 325.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B552BA
RGBrgb(181, 82, 186)
HSLhsl(297, 43%, 53%)
HSVhsv(297, 56%, 73%)
CMYKcmyk(2.7%, 55.9%, 0%, 27.1%)
CIE-LABlab(51.16, 54.46, -37.02)
CIE-LCHlch(51.16, 65.85, 325.80°)
OKLaboklab(60.18% 0.1495 -0.1022)
OKLCHoklch(60.18% 0.181 325.7)
XYZxyz(30.9356, 19.4053, 48.5610)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552BA #57BA52
analogous
#8152BA #B552BA #BA528B
triadic
#B552BA #BAB552 #52BAB5
tetradic
#B552BA #BA8152 #57BA52 #528BBA
square
#B552BA #BA8152 #57BA52 #528BBA
split-complementary
#B552BA #8BBA52 #52BA81
monochromatic
#652A68 #903B94 #B552BA #C87ECB #DAAADD

Accessibility & contrast

On white

4.30
#B552BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B552BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552BA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552BA#FFFFFF#000000##000000
##B552BA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#B95F7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b552ba;
/* rgb */ color: rgb(181, 82, 186);
/* oklch */ color: oklch(60.2% 0.181 325.7);
Tailwind
colors: {
  custom: {
    50: '#ce88cf',
    500: '#b552ba',
    950: '#000000',
  },
}
SCSS
$custom: #b552ba;
$custom-light: #ce88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ba",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 297.115,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.18112,
    "h": 325.7
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B552BA

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

Preview Lab → · Contrast checker → · Palette generator →

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