#B558CD#B558CD

#B558CD is a mid, vivid purple. Relative luminance 0.212; OKLCH L 62.0% C 0.190 H 319.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B558CD
RGBrgb(181, 88, 205)
HSLhsl(288, 54%, 57%)
HSVhsv(288, 57%, 80%)
CMYKcmyk(11.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(53.18, 55.22, -44.76)
CIE-LCHlch(53.18, 71.08, 320.97°)
OKLaboklab(61.98% 0.1433 -0.1247)
OKLCHoklch(61.98% 0.19 319)
XYZxyz(33.5638, 21.2124, 60.0722)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558CD #70CD58
analogous
#7A58CD #B558CD #CD58AB
triadic
#B558CD #CDB558 #58CDB5
tetradic
#B558CD #CD7A58 #70CD58 #58ABCD
square
#B558CD #CD7A58 #70CD58 #58ABCD
split-complementary
#B558CD #ABCD58 #58CD7A
monochromatic
#702783 #9935B2 #B558CD #CA87DB #DFB6E9

Accessibility & contrast

On white

4.01
#B558CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B558CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558CD#FFFFFF#000000##000000
##B558CD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#B56A8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b558cd;
/* rgb */ color: rgb(181, 88, 205);
/* oklch */ color: oklch(62.0% 0.190 319.0);
Tailwind
colors: {
  custom: {
    50: '#ce8cdd',
    500: '#b558cd',
    950: '#000000',
  },
}
SCSS
$custom: #b558cd;
$custom-light: #ce8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b558cd",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 287.692,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.18995,
    "h": 319
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#B558CD
secondary
#B2D8A9
accent
#DD4B69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B558CD

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

Preview Lab → · Contrast checker → · Palette generator →

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