#B554B2#B554B2

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

Color values

HEX#B554B2
RGBrgb(181, 84, 178)
HSLhsl(302, 40%, 52%)
HSVhsv(302, 54%, 71%)
CMYKcmyk(0%, 53.6%, 1.7%, 29%)
CIE-LABlab(51.13, 52.07, -32.41)
CIE-LCHlch(51.13, 61.33, 328.10°)
OKLaboklab(60.04% 0.1459 -0.0889)
OKLCHoklch(60.04% 0.171 328.6)
XYZxyz(30.2619, 19.3806, 44.2577)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B554B2 #54B557
analogous
#8854B5 #B554B2 #B55482
triadic
#B554B2 #B2B554 #54B2B5
tetradic
#B554B2 #B58854 #54B557 #5482B5
square
#B554B2 #B58854 #54B557 #5482B5
split-complementary
#B554B2 #82B554 #54B588
monochromatic
#642B62 #8E3E8C #B554B2 #C77FC5 #DAA9D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B554B2#FFFFFF#000000##000000
##B554B21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#BA5E7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b554b2;
/* rgb */ color: rgb(181, 84, 178);
/* oklch */ color: oklch(60.0% 0.171 328.6);
Tailwind
colors: {
  custom: {
    50: '#cd89c9',
    500: '#b554b2',
    950: '#000000',
  },
}
SCSS
$custom: #b554b2;
$custom-light: #cd89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b554b2",
  "rgb": {
    "r": 181,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 301.856,
    "s": 39.592,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.17085,
    "h": 328.6
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#B554B2
secondary
#9DC89E
accent
#CF5C58
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B554B2

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

Preview Lab → · Contrast checker → · Palette generator →

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