#B558C8#B558C8

#B558C8 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.7% C 0.185 H 320.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B558C8
RGBrgb(181, 88, 200)
HSLhsl(290, 50%, 56%)
HSVhsv(290, 56%, 78%)
CMYKcmyk(9.5%, 56%, 0%, 21.6%)
CIE-LABlab(52.92, 54.24, -42.31)
CIE-LCHlch(52.92, 68.79, 322.05°)
OKLaboklab(61.7% 0.143 -0.1175)
OKLCHoklch(61.7% 0.185 320.6)
XYZxyz(32.9699, 20.9748, 56.9442)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558C8 #6BC858
analogous
#7D58C8 #B558C8 #C858A3
triadic
#B558C8 #C8B558 #58C8B5
tetradic
#B558C8 #C87D58 #6BC858 #58A3C8
square
#B558C8 #C87D58 #6BC858 #58A3C8
split-complementary
#B558C8 #A3C858 #58C87D
monochromatic
#6E297D #9738AB #B558C8 #C986D7 #DEB4E6

Accessibility & contrast

On white

4.04
#B558C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B558C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558C8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558C8#FFFFFF#000000##000000
##B558C81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#B66988
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b558c8;
/* rgb */ color: rgb(181, 88, 200);
/* oklch */ color: oklch(61.7% 0.185 320.6);
Tailwind
colors: {
  custom: {
    50: '#ce8bd9',
    500: '#b558c8',
    950: '#000000',
  },
}
SCSS
$custom: #b558c8;
$custom-light: #ce8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b558c8",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 289.821,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.18508,
    "h": 320.6
  },
  "luminance": 0.20973
}

Semantic roles & 50–950 ramp

primary
#B558C8
secondary
#AFD5A7
accent
#DA4E66
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B558C8

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

Preview Lab → · Contrast checker → · Palette generator →

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