#B59CEC#B59CEC

#B59CEC is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.5% C 0.116 H 297.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B59CEC
RGBrgb(181, 156, 236)
HSLhsl(259, 68%, 77%)
HSVhsv(259, 34%, 93%)
CMYKcmyk(23.3%, 33.9%, 0%, 7.5%)
CIE-LABlab(69.22, 25.45, -36.90)
CIE-LCHlch(69.22, 44.83, 304.59°)
OKLaboklab(74.47% 0.0542 -0.1023)
OKLCHoklch(74.47% 0.116 297.9)
XYZxyz(46.0814, 39.6565, 84.5673)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59CEC #D3EC9C
analogous
#9CABEC #B59CEC #DD9CEC
triadic
#B59CEC #ECB59C #9CECB5
tetradic
#B59CEC #EC9CAB #D3EC9C #9CECDD
square
#B59CEC #EC9CAB #D3EC9C #9CECDD
split-complementary
#B59CEC #ECDD9C #ABEC9C
monochromatic
#6835D8 #8F69E2 #B59CEC #DBCFF6 #ECE5FA

Accessibility & contrast

On white

2.35
#B59CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B59CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59CEC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59CEC#FFFFFF#000000##000000
##B59CEC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#ABA9B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b59cec;
/* rgb */ color: rgb(181, 156, 236);
/* oklch */ color: oklch(74.5% 0.116 297.9);
Tailwind
colors: {
  custom: {
    50: '#ccb9f2',
    500: '#b59cec',
    950: '#000000',
  },
}
SCSS
$custom: #b59cec;
$custom-light: #ccb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b59cec",
  "rgb": {
    "r": 181,
    "g": 156,
    "b": 236
  },
  "hsl": {
    "h": 258.75,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.11574,
    "h": 297.9
  },
  "luminance": 0.39657
}

Semantic roles & 50–950 ramp

primary
#B59CEC
secondary
#EAF2D9
accent
#D01696
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B59CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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