#B58DFE#B58DFE

#B58DFE is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.7% C 0.163 H 298.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B58DFE
RGBrgb(181, 141, 254)
HSLhsl(261, 98%, 77%)
HSVhsv(261, 44%, 100%)
CMYKcmyk(28.7%, 44.5%, 0%, 0.4%)
CIE-LABlab(66.54, 38.10, -50.95)
CIE-LCHlch(66.54, 63.62, 306.79°)
OKLaboklab(72.7% 0.0779 -0.1429)
OKLCHoklch(72.7% 0.163 298.6)
XYZxyz(46.4661, 36.0289, 98.2530)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DFE #D6FE8D
analogous
#8D9DFE #B58DFE #EE8DFE
triadic
#B58DFE #FEB58D #8DFEB5
tetradic
#B58DFE #FE8D9D #D6FE8D #8DFEEE
square
#B58DFE #FE8D9D #D6FE8D #8DFEEE
split-complementary
#B58DFE #FEEE8D #9DFE8D
monochromatic
#6614FD #8E50FD #B58DFE #DCCAFF #EBE1FF

Accessibility & contrast

On white

2.56
#B58DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B58DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DFE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DFE#FFFFFF#000000##000000
##B58DFE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#A6A1B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58dfe;
/* rgb */ color: rgb(181, 141, 254);
/* oklch */ color: oklch(72.7% 0.163 298.6);
Tailwind
colors: {
  custom: {
    50: '#ceafff',
    500: '#b58dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b58dfe;
$custom-light: #ceafff;
$custom-dark: #000000;
JSON
{
  "hex": "#b58dfe",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 261.239,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.727,
    "c": 0.16278,
    "h": 298.6
  },
  "luminance": 0.36029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B58DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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