#B558ED#B558ED

#B558ED is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.222 H 310.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B558ED
RGBrgb(181, 88, 237)
HSLhsl(277, 81%, 64%)
HSVhsv(277, 63%, 93%)
CMYKcmyk(23.6%, 62.9%, 0%, 7.1%)
CIE-LABlab(54.99, 61.81, -59.96)
CIE-LCHlch(54.99, 86.11, 315.87°)
OKLaboklab(63.87% 0.1436 -0.1691)
OKLCHoklch(63.87% 0.222 310.3)
XYZxyz(37.8289, 22.9184, 82.5352)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558ED #90ED58
analogous
#6A58ED #B558ED #ED58DA
triadic
#B558ED #EDB558 #58EDB5
tetradic
#B558ED #ED6A58 #90ED58 #58DAED
square
#B558ED #ED6A58 #90ED58 #58DAED
split-complementary
#B558ED #DAED58 #58ED6A
monochromatic
#7A14B7 #9D21E7 #B558ED #CD8FF3 #E6C6F9

Accessibility & contrast

On white

3.76
#B558ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B558ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558ED
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558ED#FFFFFF#000000##000000
##B558ED1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#AE769B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b558ed;
/* rgb */ color: rgb(181, 88, 237);
/* oklch */ color: oklch(63.9% 0.222 310.3);
Tailwind
colors: {
  custom: {
    50: '#cf8cf4',
    500: '#b558ed',
    950: '#000000',
  },
}
SCSS
$custom: #b558ed;
$custom-light: #cf8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b558ed",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 277.45,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63874,
    "c": 0.22183,
    "h": 310.3
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#B558ED
secondary
#CAEBB6
accent
#DD0958
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B558ED

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

Preview Lab → · Contrast checker → · Palette generator →

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