#B558BB#B558BB

#B558BB is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.0% C 0.173 H 325.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B558BB
RGBrgb(181, 88, 187)
HSLhsl(296, 42%, 54%)
HSVhsv(296, 53%, 73%)
CMYKcmyk(3.2%, 52.9%, 0%, 26.7%)
CIE-LABlab(52.28, 51.77, -35.84)
CIE-LCHlch(52.28, 62.96, 325.31°)
OKLaboklab(61.02% 0.1417 -0.0988)
OKLCHoklch(61.02% 0.173 325.1)
XYZxyz(31.5147, 20.3927, 49.2803)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558BB #5EBB58
analogous
#8458BB #B558BB #BB5890
triadic
#B558BB #BBB558 #58BBB5
tetradic
#B558BB #BB8458 #5EBB58 #5890BB
square
#B558BB #BB8458 #5EBB58 #5890BB
split-complementary
#B558BB #90BB58 #58BB84
monochromatic
#692C6C #923E98 #B558BB #C883CD #DCAFDE

Accessibility & contrast

On white

4.14
#B558BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B558BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558BB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558BB#FFFFFF#000000##000000
##B558BB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#B96481
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b558bb;
/* rgb */ color: rgb(181, 88, 187);
/* oklch */ color: oklch(61.0% 0.173 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd8bd0',
    500: '#b558bb',
    950: '#000000',
  },
}
SCSS
$custom: #b558bb;
$custom-light: #cd8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b558bb",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 296.364,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61022,
    "c": 0.17271,
    "h": 325.1
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#B558BB
secondary
#A5CDA2
accent
#D2565D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B558BB

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

Preview Lab → · Contrast checker → · Palette generator →

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