#B558CA#B558CA

#B558CA is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.187 H 319.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B558CA
RGBrgb(181, 88, 202)
HSLhsl(289, 52%, 57%)
HSVhsv(289, 56%, 79%)
CMYKcmyk(10.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(53.02, 54.63, -43.29)
CIE-LCHlch(53.02, 69.70, 321.61°)
OKLaboklab(61.81% 0.1431 -0.1204)
OKLCHoklch(61.81% 0.187 319.9)
XYZxyz(33.2051, 21.0689, 58.1833)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558CA #6DCA58
analogous
#7C58CA #B558CA #CA58A6
triadic
#B558CA #CAB558 #58CAB5
tetradic
#B558CA #CA7C58 #6DCA58 #58A6CA
square
#B558CA #CA7C58 #6DCA58 #58A6CA
split-complementary
#B558CA #A6CA58 #58CA7C
monochromatic
#6F287F #9837AE #B558CA #CA86D9 #DEB5E7

Accessibility & contrast

On white

4.03
#B558CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B558CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558CA#FFFFFF#000000##000000
##B558CA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#B66989
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b558ca;
/* rgb */ color: rgb(181, 88, 202);
/* oklch */ color: oklch(61.8% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#ce8cda',
    500: '#b558ca',
    950: '#000000',
  },
}
SCSS
$custom: #b558ca;
$custom-light: #ce8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b558ca",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 288.947,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.18702,
    "h": 319.9
  },
  "luminance": 0.21067
}

Semantic roles & 50–950 ramp

primary
#B558CA
secondary
#B0D6A8
accent
#DB4D67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B558CA

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

Preview Lab → · Contrast checker → · Palette generator →

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