#B558F1#B558F1

#B558F1 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.1% C 0.226 H 309.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B558F1
RGBrgb(181, 88, 241)
HSLhsl(276, 85%, 65%)
HSVhsv(276, 63%, 95%)
CMYKcmyk(24.9%, 63.5%, 0%, 5.5%)
CIE-LABlab(55.23, 62.66, -61.81)
CIE-LCHlch(55.23, 88.02, 315.39°)
OKLaboklab(64.13% 0.1434 -0.1745)
OKLCHoklch(64.13% 0.226 309.4)
XYZxyz(38.4198, 23.1548, 85.6474)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558F1 #94F158
analogous
#6958F1 #B558F1 #F158E0
triadic
#B558F1 #F1B558 #58F1B5
tetradic
#B558F1 #F16958 #94F158 #58E0F1
square
#B558F1 #F16958 #94F158 #58E0F1
split-complementary
#B558F1 #E0F158 #58F169
monochromatic
#7A10BF #9C20EC #B558F1 #CE90F6 #E7C9FA

Accessibility & contrast

On white

3.73
#B558F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B558F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558F1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558F1#FFFFFF#000000##000000
##B558F11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#AD779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b558f1;
/* rgb */ color: rgb(181, 88, 241);
/* oklch */ color: oklch(64.1% 0.226 309.4);
Tailwind
colors: {
  custom: {
    50: '#cf8cf6',
    500: '#b558f1',
    950: '#000000',
  },
}
SCSS
$custom: #b558f1;
$custom-light: #cf8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b558f1",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 276.471,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64127,
    "c": 0.22586,
    "h": 309.4
  },
  "luminance": 0.23154
}

Semantic roles & 50–950 ramp

primary
#B558F1
secondary
#CDEDB8
accent
#E1055B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B558F1

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

Preview Lab → · Contrast checker → · Palette generator →

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