#B558AA#B558AA

#B558AA is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.157 H 332.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B558AA
RGBrgb(181, 88, 170)
HSLhsl(307, 39%, 53%)
HSVhsv(307, 51%, 71%)
CMYKcmyk(0%, 51.4%, 6.1%, 29%)
CIE-LABlab(51.50, 48.71, -27.16)
CIE-LCHlch(51.50, 55.77, 330.86°)
OKLaboklab(60.2% 0.139 -0.074)
OKLCHoklch(60.2% 0.157 332)
XYZxyz(29.8013, 19.7074, 40.2567)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558AA #58B563
analogous
#9258B5 #B558AA #B5587B
triadic
#B558AA #AAB558 #58AAB5
tetradic
#B558AA #B59258 #58B563 #587BB5
square
#B558AA #B59258 #58B563 #587BB5
split-complementary
#B558AA #7BB558 #58B592
monochromatic
#662D5F #904087 #B558AA #C882C0 #DBADD5

Accessibility & contrast

On white

4.25
#B558AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B558AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558AA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558AA#FFFFFF#000000##000000
##B558AA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5572AD
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#BC5F79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b558aa;
/* rgb */ color: rgb(181, 88, 170);
/* oklch */ color: oklch(60.2% 0.157 332.0);
Tailwind
colors: {
  custom: {
    50: '#cd8bc3',
    500: '#b558aa',
    950: '#000000',
  },
}
SCSS
$custom: #b558aa;
$custom-light: #cd8bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b558aa",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 307.097,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60198,
    "c": 0.15743,
    "h": 332
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#B558AA
secondary
#A0C9A5
accent
#CF6759
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B558AA

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

Preview Lab → · Contrast checker → · Palette generator →

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