#B558CC#B558CC

#B558CC is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.9% C 0.189 H 319.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B558CC
RGBrgb(181, 88, 204)
HSLhsl(288, 53%, 57%)
HSVhsv(288, 57%, 80%)
CMYKcmyk(11.3%, 56.9%, 0%, 20%)
CIE-LABlab(53.13, 55.02, -44.27)
CIE-LCHlch(53.13, 70.62, 321.18°)
OKLaboklab(61.92% 0.1433 -0.1232)
OKLCHoklch(61.92% 0.189 319.3)
XYZxyz(33.4435, 21.1642, 59.4385)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558CC #6FCC58
analogous
#7B58CC #B558CC #CC58A9
triadic
#B558CC #CCB558 #58CCB5
tetradic
#B558CC #CC7B58 #6FCC58 #58A9CC
square
#B558CC #CC7B58 #6FCC58 #58A9CC
split-complementary
#B558CC #A9CC58 #58CC7B
monochromatic
#702882 #9836B1 #B558CC #CA87DA #DFB6E9

Accessibility & contrast

On white

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

On black

5.23
#B558CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558CC#FFFFFF#000000##000000
##B558CC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D0
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#B56A8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b558cc;
/* rgb */ color: rgb(181, 88, 204);
/* oklch */ color: oklch(61.9% 0.189 319.3);
Tailwind
colors: {
  custom: {
    50: '#ce8cdc',
    500: '#b558cc',
    950: '#000000',
  },
}
SCSS
$custom: #b558cc;
$custom-light: #ce8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b558cc",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 288.103,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.18897,
    "h": 319.3
  },
  "luminance": 0.21163
}

Semantic roles & 50–950 ramp

primary
#B558CC
secondary
#B2D7A8
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B558CC

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

Preview Lab → · Contrast checker → · Palette generator →

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