#B58DFC#B58DFC

#B58DFC is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.160 H 299.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B58DFC
RGBrgb(181, 141, 252)
HSLhsl(262, 95%, 77%)
HSVhsv(262, 44%, 99%)
CMYKcmyk(28.2%, 44%, 0%, 1.2%)
CIE-LABlab(66.44, 37.62, -50.02)
CIE-LCHlch(66.44, 62.58, 306.95°)
OKLaboklab(72.6% 0.0777 -0.1402)
OKLCHoklch(72.6% 0.16 299)
XYZxyz(46.1475, 35.9014, 96.5750)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DFC #D4FC8D
analogous
#8D9CFC #B58DFC #ED8DFC
triadic
#B58DFC #FCB58D #8DFCB5
tetradic
#B58DFC #FC8D9C #D4FC8D #8DFCED
square
#B58DFC #FC8D9C #D4FC8D #8DFCED
split-complementary
#B58DFC #FCED8D #9CFC8D
monochromatic
#6816F9 #8E51FA #B58DFC #DCC9FE #ECE1FE

Accessibility & contrast

On white

2.57
#B58DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B58DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DFC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DFC#FFFFFF#000000##000000
##B58DFC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#A7A1B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b58dfc;
/* rgb */ color: rgb(181, 141, 252);
/* oklch */ color: oklch(72.6% 0.160 299.0);
Tailwind
colors: {
  custom: {
    50: '#cdaffe',
    500: '#b58dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b58dfc;
$custom-light: #cdaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b58dfc",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 261.622,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.16025,
    "h": 299
  },
  "luminance": 0.35902
}

Semantic roles & 50–950 ramp

primary
#B58DFC
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B58DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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