#B558E4#B558E4

#B558E4 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.213 H 312.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B558E4
RGBrgb(181, 88, 228)
HSLhsl(280, 72%, 62%)
HSVhsv(280, 61%, 89%)
CMYKcmyk(20.6%, 61.4%, 0%, 10.6%)
CIE-LABlab(54.45, 59.90, -55.77)
CIE-LCHlch(54.45, 81.84, 317.05°)
OKLaboklab(63.32% 0.1438 -0.1568)
OKLCHoklch(63.32% 0.213 312.5)
XYZxyz(36.5469, 22.4056, 75.7832)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558E4 #87E458
analogous
#6F58E4 #B558E4 #E458CD
triadic
#B558E4 #E4B558 #58E4B5
tetradic
#B558E4 #E46F58 #87E458 #58CDE4
square
#B558E4 #E46F58 #87E458 #58CDE4
split-complementary
#B558E4 #CDE458 #58E46F
monochromatic
#781BA7 #9E23DB #B558E4 #CC8DED #E4C1F5

Accessibility & contrast

On white

3.83
#B558E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B558E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558E4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558E4#FFFFFF#000000##000000
##B558E41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#B07296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b558e4;
/* rgb */ color: rgb(181, 88, 228);
/* oklch */ color: oklch(63.3% 0.213 312.5);
Tailwind
colors: {
  custom: {
    50: '#cf8ced',
    500: '#b558e4',
    950: '#000000',
  },
}
SCSS
$custom: #b558e4;
$custom-light: #cf8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#b558e4",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 279.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.21279,
    "h": 312.5
  },
  "luminance": 0.22405
}

Semantic roles & 50–950 ramp

primary
#B558E4
secondary
#C3E6B2
accent
#D41153
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B558E4

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

Preview Lab → · Contrast checker → · Palette generator →

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