#B558D2#B558D2

#B558D2 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.3% C 0.195 H 317.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B558D2
RGBrgb(181, 88, 210)
HSLhsl(286, 58%, 58%)
HSVhsv(286, 58%, 82%)
CMYKcmyk(13.8%, 58.1%, 0%, 17.6%)
CIE-LABlab(53.45, 56.21, -47.19)
CIE-LCHlch(53.45, 73.39, 319.99°)
OKLaboklab(62.26% 0.1436 -0.1317)
OKLCHoklch(62.26% 0.195 317.5)
XYZxyz(34.1770, 21.4576, 63.3017)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558D2 #75D258
analogous
#7858D2 #B558D2 #D258B2
triadic
#B558D2 #D2B558 #58D2B5
tetradic
#B558D2 #D27858 #75D258 #58B2D2
square
#B558D2 #D27858 #75D258 #58B2D2
split-complementary
#B558D2 #B2D258 #58D278
monochromatic
#72258A #9A32BB #B558D2 #CA88DF #E0B8EC

Accessibility & contrast

On white

3.97
#B558D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B558D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558D2#FFFFFF#000000##000000
##B558D21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#B46C8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b558d2;
/* rgb */ color: rgb(181, 88, 210);
/* oklch */ color: oklch(62.3% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#ce8ce0',
    500: '#b558d2',
    950: '#000000',
  },
}
SCSS
$custom: #b558d2;
$custom-light: #ce8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b558d2",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 285.738,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62258,
    "c": 0.19486,
    "h": 317.5
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#B558D2
secondary
#B6DBAB
accent
#E1476C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B558D2

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

Preview Lab → · Contrast checker → · Palette generator →

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