#B58EFE#B58EFE

#B58EFE is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.9% C 0.161 H 298.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B58EFE
RGBrgb(181, 142, 254)
HSLhsl(261, 98%, 78%)
HSVhsv(261, 44%, 100%)
CMYKcmyk(28.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.77, 37.55, -50.60)
CIE-LCHlch(66.77, 63.01, 306.58°)
OKLaboklab(72.87% 0.0766 -0.1419)
OKLCHoklch(72.87% 0.161 298.4)
XYZxyz(46.6142, 36.3251, 98.3023)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58EFE #D7FE8E
analogous
#8E9FFE #B58EFE #ED8EFE
triadic
#B58EFE #FEB58E #8EFEB5
tetradic
#B58EFE #FE8E9F #D7FE8E #8EFEED
square
#B58EFE #FE8E9F #D7FE8E #8EFEED
split-complementary
#B58EFE #FEED8E #9FFE8E
monochromatic
#6615FD #8D51FD #B58EFE #DDCBFF #EBE1FF

Accessibility & contrast

On white

2.54
#B58EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B58EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58EFE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58EFE#FFFFFF#000000##000000
##B58EFE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#A6A2BA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58efe;
/* rgb */ color: rgb(181, 142, 254);
/* oklch */ color: oklch(72.9% 0.161 298.4);
Tailwind
colors: {
  custom: {
    50: '#ceafff',
    500: '#b58efe',
    950: '#000000',
  },
}
SCSS
$custom: #b58efe;
$custom-light: #ceafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b58efe",
  "rgb": {
    "r": 181,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 260.893,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.16124,
    "h": 298.4
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#B58EFE
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B58EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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