#B558B2#B558B2

#B558B2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.164 H 328.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B558B2
RGBrgb(181, 88, 178)
HSLhsl(302, 39%, 53%)
HSVhsv(302, 51%, 71%)
CMYKcmyk(0%, 51.4%, 1.7%, 29%)
CIE-LABlab(51.86, 50.12, -31.27)
CIE-LCHlch(51.86, 59.08, 328.04°)
OKLaboklab(60.58% 0.1404 -0.0857)
OKLCHoklch(60.58% 0.164 328.6)
XYZxyz(30.5813, 20.0193, 44.3642)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558B2 #58B55B
analogous
#8958B5 #B558B2 #B55884
triadic
#B558B2 #B2B558 #58B2B5
tetradic
#B558B2 #B58958 #58B55B #5884B5
square
#B558B2 #B58958 #58B55B #5884B5
split-complementary
#B558B2 #84B558 #58B589
monochromatic
#662D64 #90408D #B558B2 #C882C6 #DBADD9

Accessibility & contrast

On white

4.20
#B558B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B558B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558B2#FFFFFF#000000##000000
##B558B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#BA617D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b558b2;
/* rgb */ color: rgb(181, 88, 178);
/* oklch */ color: oklch(60.6% 0.164 328.6);
Tailwind
colors: {
  custom: {
    50: '#cd8bc9',
    500: '#b558b2',
    950: '#000000',
  },
}
SCSS
$custom: #b558b2;
$custom-light: #cd8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b558b2",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 301.935,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.16446,
    "h": 328.6
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#B558B2
secondary
#A0C9A2
accent
#CF5D59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B558B2

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

Preview Lab → · Contrast checker → · Palette generator →

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