#B58DEC#B58DEC

#B58DEC is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.140 H 302.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B58DEC
RGBrgb(181, 141, 236)
HSLhsl(265, 71%, 74%)
HSVhsv(265, 40%, 93%)
CMYKcmyk(23.3%, 40.3%, 0%, 7.5%)
CIE-LABlab(65.69, 33.83, -42.42)
CIE-LCHlch(65.69, 54.26, 308.58°)
OKLaboklab(71.78% 0.075 -0.1181)
OKLCHoklch(71.78% 0.14 302.4)
XYZxyz(43.7180, 34.9296, 83.7795)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58DEC #C4EC8D
analogous
#8D95EC #B58DEC #E58DEC
triadic
#B58DEC #ECB58D #8DECB5
tetradic
#B58DEC #EC8D95 #C4EC8D #8DECE5
square
#B58DEC #EC8D95 #C4EC8D #8DECE5
split-complementary
#B58DEC #ECE58D #95EC8D
monochromatic
#7124DA #9359E3 #B58DEC #D7C1F5 #EEE5FB

Accessibility & contrast

On white

2.63
#B58DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B58DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58DEC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58DEC#FFFFFF#000000##000000
##B58DEC1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#AB9DB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b58dec;
/* rgb */ color: rgb(181, 141, 236);
/* oklch */ color: oklch(71.8% 0.140 302.4);
Tailwind
colors: {
  custom: {
    50: '#cdaff2',
    500: '#b58dec',
    950: '#000000',
  },
}
SCSS
$custom: #b58dec;
$custom-light: #cdaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b58dec",
  "rgb": {
    "r": 181,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 265.263,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71783,
    "c": 0.13994,
    "h": 302.4
  },
  "luminance": 0.3493
}

Semantic roles & 50–950 ramp

primary
#B58DEC
secondary
#E8F2D9
accent
#D31282
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B58DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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