#B558D4#B558D4

#B558D4 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.4% C 0.197 H 316.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B558D4
RGBrgb(181, 88, 212)
HSLhsl(285, 59%, 59%)
HSVhsv(285, 58%, 83%)
CMYKcmyk(14.6%, 58.5%, 0%, 16.9%)
CIE-LABlab(53.55, 56.61, -48.15)
CIE-LCHlch(53.55, 74.32, 319.62°)
OKLaboklab(62.37% 0.1437 -0.1345)
OKLCHoklch(62.37% 0.197 316.9)
XYZxyz(34.4277, 21.5579, 64.6222)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558D4 #77D458
analogous
#7758D4 #B558D4 #D458B5
triadic
#B558D4 #D4B558 #58D4B5
tetradic
#B558D4 #D47758 #77D458 #58B5D4
square
#B558D4 #D47758 #77D458 #58B5D4
split-complementary
#B558D4 #B5D458 #58D477
monochromatic
#73248D #9B31BE #B558D4 #CB89E1 #E0B9ED

Accessibility & contrast

On white

3.95
#B558D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B558D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558D4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558D4#FFFFFF#000000##000000
##B558D41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#B46D8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b558d4;
/* rgb */ color: rgb(181, 88, 212);
/* oklch */ color: oklch(62.4% 0.197 316.9);
Tailwind
colors: {
  custom: {
    50: '#ce8ce2',
    500: '#b558d4',
    950: '#000000',
  },
}
SCSS
$custom: #b558d4;
$custom-light: #ce8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#b558d4",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 285,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.19684,
    "h": 316.9
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#B558D4
secondary
#B8DCAB
accent
#E2466D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B558D4

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

Preview Lab → · Contrast checker → · Palette generator →

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