#B58CEE#B58CEE

#B58CEE is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.144 H 302.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B58CEE
RGBrgb(181, 140, 238)
HSLhsl(265, 74%, 74%)
HSVhsv(265, 41%, 93%)
CMYKcmyk(23.9%, 41.2%, 0%, 6.7%)
CIE-LABlab(65.56, 34.86, -43.74)
CIE-LCHlch(65.56, 55.93, 308.55°)
OKLaboklab(71.71% 0.0768 -0.1219)
OKLCHoklch(71.71% 0.144 302.2)
XYZxyz(43.8634, 34.7529, 85.2695)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B58CEE #C5EE8C
analogous
#8C94EE #B58CEE #E68CEE
triadic
#B58CEE #EEB58C #8CEEB5
tetradic
#B58CEE #EE8C94 #C5EE8C #8CEEE6
square
#B58CEE #EE8C94 #C5EE8C #8CEEE6
split-complementary
#B58CEE #EEE68C #94EE8C
monochromatic
#7021DE #9357E6 #B58CEE #D7C1F6 #EEE4FB

Accessibility & contrast

On white

2.64
#B58CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B58CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B58CEE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B58CEE#FFFFFF#000000##000000
##B58CEE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#AB9CB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b58cee;
/* rgb */ color: rgb(181, 140, 238);
/* oklch */ color: oklch(71.7% 0.144 302.2);
Tailwind
colors: {
  custom: {
    50: '#cdaef4',
    500: '#b58cee',
    950: '#000000',
  },
}
SCSS
$custom: #b58cee;
$custom-light: #cdaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b58cee",
  "rgb": {
    "r": 181,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 265.102,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.14409,
    "h": 302.2
  },
  "luminance": 0.34753
}

Semantic roles & 50–950 ramp

primary
#B58CEE
secondary
#E8F3D8
accent
#D60F83
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B58CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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