#B558CB#B558CB

#B558CB is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.9% C 0.188 H 319.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B558CB
RGBrgb(181, 88, 203)
HSLhsl(289, 53%, 57%)
HSVhsv(289, 57%, 80%)
CMYKcmyk(10.8%, 56.7%, 0%, 20.4%)
CIE-LABlab(53.08, 54.82, -43.78)
CIE-LCHlch(53.08, 70.16, 321.39°)
OKLaboklab(61.87% 0.1432 -0.1218)
OKLCHoklch(61.87% 0.188 319.6)
XYZxyz(33.3239, 21.1164, 58.8089)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558CB #6ECB58
analogous
#7C58CB #B558CB #CB58A7
triadic
#B558CB #CBB558 #58CBB5
tetradic
#B558CB #CB7C58 #6ECB58 #58A7CB
square
#B558CB #CB7C58 #6ECB58 #58A7CB
split-complementary
#B558CB #A7CB58 #58CB7C
monochromatic
#702881 #9837AF #B558CB #CA87DA #DEB5E8

Accessibility & contrast

On white

4.02
#B558CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B558CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558CB#FFFFFF#000000##000000
##B558CB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#B66A89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b558cb;
/* rgb */ color: rgb(181, 88, 203);
/* oklch */ color: oklch(61.9% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#ce8cdb',
    500: '#b558cb',
    950: '#000000',
  },
}
SCSS
$custom: #b558cb;
$custom-light: #ce8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b558cb",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 288.522,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.18799,
    "h": 319.6
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#B558CB
secondary
#B1D7A8
accent
#DC4C67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B558CB

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

Preview Lab → · Contrast checker → · Palette generator →

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