#B558F5#B558F5

#B558F5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.230 H 308.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B558F5
RGBrgb(181, 88, 245)
HSLhsl(276, 89%, 65%)
HSVhsv(276, 64%, 96%)
CMYKcmyk(26.1%, 64.1%, 0%, 3.9%)
CIE-LABlab(55.48, 63.53, -63.64)
CIE-LCHlch(55.48, 89.92, 314.95°)
OKLaboklab(64.38% 0.1432 -0.1799)
OKLCHoklch(64.38% 0.23 308.5)
XYZxyz(39.0239, 23.3964, 88.8287)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B558F5 #98F558
analogous
#6658F5 #B558F5 #F558E7
triadic
#B558F5 #F5B558 #58F5B5
tetradic
#B558F5 #F56658 #98F558 #58E7F5
square
#B558F5 #F56658 #98F558 #58E7F5
split-complementary
#B558F5 #E7F558 #58F566
monochromatic
#7B0CC7 #9B1EF2 #B558F5 #CF92F8 #E8CBFC

Accessibility & contrast

On white

3.70
#B558F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B558F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B558F5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B558F5#FFFFFF#000000##000000
##B558F51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#3C86F1
Tritanopia (blue-blind)
#AB789F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b558f5;
/* rgb */ color: rgb(181, 88, 245);
/* oklch */ color: oklch(64.4% 0.230 308.5);
Tailwind
colors: {
  custom: {
    50: '#cf8df9',
    500: '#b558f5',
    950: '#000000',
  },
}
SCSS
$custom: #b558f5;
$custom-light: #cf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#b558f5",
  "rgb": {
    "r": 181,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 275.541,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64384,
    "c": 0.2299,
    "h": 308.5
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#B558F5
secondary
#D0EFBA
accent
#E5005E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B558F5

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

Preview Lab → · Contrast checker → · Palette generator →

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