#B558EC#B558EC

#B558EC is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.8% C 0.221 H 310.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B558EC
RGBrgb(181, 88, 236)
HSLhsl(278, 80%, 64%)
HSVhsv(278, 63%, 93%)
CMYKcmyk(23.3%, 62.7%, 0%, 7.5%)
CIE-LABlab(54.93, 61.59, -59.50)
CIE-LCHlch(54.93, 85.64, 315.99°)
OKLaboklab(63.81% 0.1436 -0.1677)
OKLCHoklch(63.81% 0.221 310.6)
XYZxyz(37.6832, 22.8601, 81.7680)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558EC #8FEC58
analogous
#6B58EC #B558EC #EC58D9
triadic
#B558EC #ECB558 #58ECB5
tetradic
#B558EC #EC6B58 #8FEC58 #58D9EC
square
#B558EC #EC6B58 #8FEC58 #58D9EC
split-complementary
#B558EC #D9EC58 #58EC6B
monochromatic
#7915B5 #9D21E6 #B558EC #CD8FF2 #E6C6F9

Accessibility & contrast

On white

3.77
#B558EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B558EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558EC#FFFFFF#000000##000000
##B558EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#047FF1
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#AE759A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b558ec;
/* rgb */ color: rgb(181, 88, 236);
/* oklch */ color: oklch(63.8% 0.221 310.6);
Tailwind
colors: {
  custom: {
    50: '#cf8cf3',
    500: '#b558ec',
    950: '#000000',
  },
}
SCSS
$custom: #b558ec;
$custom-light: #cf8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b558ec",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 277.703,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63811,
    "c": 0.22082,
    "h": 310.6
  },
  "luminance": 0.22859
}

Semantic roles & 50–950 ramp

primary
#B558EC
secondary
#C9EAB6
accent
#DC0A58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B558EC

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

Preview Lab → · Contrast checker → · Palette generator →

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