#B558F0#B558F0

#B558F0 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.225 H 309.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B558F0
RGBrgb(181, 88, 240)
HSLhsl(277, 84%, 64%)
HSVhsv(277, 63%, 94%)
CMYKcmyk(24.6%, 63.3%, 0%, 5.9%)
CIE-LABlab(55.17, 62.45, -61.35)
CIE-LCHlch(55.17, 87.54, 315.51°)
OKLaboklab(64.06% 0.1434 -0.1732)
OKLCHoklch(64.06% 0.225 309.6)
XYZxyz(38.2709, 23.0952, 84.8629)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558F0 #93F058
analogous
#6958F0 #B558F0 #F058DF
triadic
#B558F0 #F0B558 #58F0B5
tetradic
#B558F0 #F06958 #93F058 #58DFF0
square
#B558F0 #F06958 #93F058 #58DFF0
split-complementary
#B558F0 #DFF058 #58F069
monochromatic
#7A11BD #9C20EB #B558F0 #CE90F5 #E7C8FA

Accessibility & contrast

On white

3.74
#B558F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B558F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558F0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558F0#FFFFFF#000000##000000
##B558F01.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#4285ED
Tritanopia (blue-blind)
#AD779C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b558f0;
/* rgb */ color: rgb(181, 88, 240);
/* oklch */ color: oklch(64.1% 0.225 309.6);
Tailwind
colors: {
  custom: {
    50: '#cf8cf6',
    500: '#b558f0',
    950: '#000000',
  },
}
SCSS
$custom: #b558f0;
$custom-light: #cf8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b558f0",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 276.711,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64063,
    "c": 0.22485,
    "h": 309.6
  },
  "luminance": 0.23094
}

Semantic roles & 50–950 ramp

primary
#B558F0
secondary
#CCECB8
accent
#E0065A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B558F0

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

Preview Lab → · Contrast checker → · Palette generator →

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