#B558EB#B558EB

#B558EB is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.7% C 0.220 H 310.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B558EB
RGBrgb(181, 88, 235)
HSLhsl(278, 79%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(23%, 62.6%, 0%, 7.8%)
CIE-LABlab(54.87, 61.38, -59.04)
CIE-LCHlch(54.87, 85.16, 316.11°)
OKLaboklab(63.75% 0.1437 -0.1664)
OKLCHoklch(63.75% 0.22 310.8)
XYZxyz(37.5384, 22.8022, 81.0049)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558EB #8EEB58
analogous
#6B58EB #B558EB #EB58D8
triadic
#B558EB #EBB558 #58EBB5
tetradic
#B558EB #EB6B58 #8EEB58 #58D8EB
square
#B558EB #EB6B58 #8EEB58 #58D8EB
split-complementary
#B558EB #D8EB58 #58EB6B
monochromatic
#7915B3 #9D21E4 #B558EB #CD8FF2 #E5C5F8

Accessibility & contrast

On white

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

On black

5.56
#B558EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558EB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558EB#FFFFFF#000000##000000
##B558EB1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7FF0
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#AE759A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b558eb;
/* rgb */ color: rgb(181, 88, 235);
/* oklch */ color: oklch(63.7% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#cf8cf2',
    500: '#b558eb',
    950: '#000000',
  },
}
SCSS
$custom: #b558eb;
$custom-light: #cf8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b558eb",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 277.959,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63748,
    "c": 0.21982,
    "h": 310.8
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#B558EB
secondary
#C8EAB5
accent
#DB0B57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B558EB

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

Preview Lab → · Contrast checker → · Palette generator →

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