#B558AF#B558AF

#B558AF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.4% C 0.162 H 329.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B558AF
RGBrgb(181, 88, 175)
HSLhsl(304, 39%, 53%)
HSVhsv(304, 51%, 71%)
CMYKcmyk(0%, 51.4%, 3.3%, 29%)
CIE-LABlab(51.72, 49.59, -29.74)
CIE-LCHlch(51.72, 57.82, 329.05°)
OKLaboklab(60.43% 0.1399 -0.0813)
OKLCHoklch(60.43% 0.162 329.8)
XYZxyz(30.2833, 19.9002, 42.7952)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558AF #58B55E
analogous
#8C58B5 #B558AF #B55880
triadic
#B558AF #AFB558 #58AFB5
tetradic
#B558AF #B58C58 #58B55E #5880B5
square
#B558AF #B58C58 #58B55E #5880B5
split-complementary
#B558AF #80B558 #58B58C
monochromatic
#662D62 #90408B #B558AF #C882C3 #DBADD8

Accessibility & contrast

On white

4.22
#B558AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B558AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558AF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558AF#FFFFFF#000000##000000
##B558AF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#BB607C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b558af;
/* rgb */ color: rgb(181, 88, 175);
/* oklch */ color: oklch(60.4% 0.162 329.8);
Tailwind
colors: {
  custom: {
    50: '#cd8bc7',
    500: '#b558af',
    950: '#000000',
  },
}
SCSS
$custom: #b558af;
$custom-light: #cd8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b558af",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 303.871,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.16179,
    "h": 329.8
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#B558AF
secondary
#A0C9A3
accent
#CF6159
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B558AF

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

Preview Lab → · Contrast checker → · Palette generator →

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