#B558EA#B558EA

#B558EA is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.219 H 311.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B558EA
RGBrgb(181, 88, 234)
HSLhsl(278, 78%, 63%)
HSVhsv(278, 62%, 92%)
CMYKcmyk(22.6%, 62.4%, 0%, 8.2%)
CIE-LABlab(54.81, 61.17, -58.57)
CIE-LCHlch(54.81, 84.69, 316.24°)
OKLaboklab(63.69% 0.1437 -0.165)
OKLCHoklch(63.69% 0.219 311)
XYZxyz(37.3943, 22.7446, 80.2462)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558EA #8DEA58
analogous
#6C58EA #B558EA #EA58D6
triadic
#B558EA #EAB558 #58EAB5
tetradic
#B558EA #EA6C58 #8DEA58 #58D6EA
square
#B558EA #EA6C58 #8DEA58 #58D6EA
split-complementary
#B558EA #D6EA58 #58EA6C
monochromatic
#7916B1 #9D22E3 #B558EA #CD8EF1 #E5C5F8

Accessibility & contrast

On white

3.78
#B558EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B558EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558EA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558EA#FFFFFF#000000##000000
##B558EA1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7FEF
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#AE7499
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b558ea;
/* rgb */ color: rgb(181, 88, 234);
/* oklch */ color: oklch(63.7% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#cf8cf1',
    500: '#b558ea',
    950: '#000000',
  },
}
SCSS
$custom: #b558ea;
$custom-light: #cf8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b558ea",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 278.219,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63686,
    "c": 0.21881,
    "h": 311
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#B558EA
secondary
#C8E9B5
accent
#DA0C56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B558EA

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

Preview Lab → · Contrast checker → · Palette generator →

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