#B58DF5#B58DF5

#B58DF5 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.151 H 300.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B58DF5
RGBrgb(181, 141, 245)
HSLhsl(263, 84%, 76%)
HSVhsv(263, 42%, 96%)
CMYKcmyk(26.1%, 42.4%, 0%, 3.9%)
CIE-LABlab(66.11, 35.95, -46.71)
CIE-LCHlch(66.11, 58.94, 307.58°)
OKLaboklab(72.23% 0.0766 -0.1306)
OKLCHoklch(72.23% 0.151 300.4)
XYZxyz(45.0586, 35.4659, 90.8403)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DF5 #CDF58D
analogous
#8D99F5 #B58DF5 #E98DF5
triadic
#B58DF5 #F5B58D #8DF5B5
tetradic
#B58DF5 #F58D99 #CDF58D #8DF5E9
square
#B58DF5 #F58D99 #CDF58D #8DF5E9
split-complementary
#B58DF5 #F5E98D #99F58D
monochromatic
#6C1CEB #9055F0 #B58DF5 #DAC5FA #EDE3FD

Accessibility & contrast

On white

2.59
#B58DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B58DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DF5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DF5#FFFFFF#000000##000000
##B58DF51.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#A99FB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b58df5;
/* rgb */ color: rgb(181, 141, 245);
/* oklch */ color: oklch(72.2% 0.151 300.4);
Tailwind
colors: {
  custom: {
    50: '#cdaff9',
    500: '#b58df5',
    950: '#000000',
  },
}
SCSS
$custom: #b58df5;
$custom-light: #cdaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b58df5",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 263.077,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72234,
    "c": 0.15138,
    "h": 300.4
  },
  "luminance": 0.35466
}

Semantic roles & 50–950 ramp

primary
#B58DF5
secondary
#E9F4D7
accent
#E0058C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B58DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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