#B59CEE#B59CEE

#B59CEE is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.6% C 0.118 H 297.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B59CEE
RGBrgb(181, 156, 238)
HSLhsl(258, 71%, 77%)
HSVhsv(258, 34%, 93%)
CMYKcmyk(23.9%, 34.5%, 0%, 6.7%)
CIE-LABlab(69.31, 25.92, -37.87)
CIE-LCHlch(69.31, 45.89, 304.39°)
OKLaboklab(74.56% 0.0546 -0.1051)
OKLCHoklch(74.56% 0.118 297.5)
XYZxyz(46.3736, 39.7734, 86.1062)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59CEE #D5EE9C
analogous
#9CACEE #B59CEE #DE9CEE
triadic
#B59CEE #EEB59C #9CEEB5
tetradic
#B59CEE #EE9CAC #D5EE9C #9CEEDE
square
#B59CEE #EE9CAC #D5EE9C #9CEEDE
split-complementary
#B59CEE #EEDE9C #ACEE9C
monochromatic
#6734DC #8E68E5 #B59CEE #DCD0F7 #EBE5FB

Accessibility & contrast

On white

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

On black

8.95
#B59CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59CEE
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59CEE#FFFFFF#000000##000000
##B59CEE1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#8CA8EC
Tritanopia (blue-blind)
#AAAABA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b59cee;
/* rgb */ color: rgb(181, 156, 238);
/* oklch */ color: oklch(74.6% 0.118 297.5);
Tailwind
colors: {
  custom: {
    50: '#ccb9f4',
    500: '#b59cee',
    950: '#000000',
  },
}
SCSS
$custom: #b59cee;
$custom-light: #ccb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b59cee",
  "rgb": {
    "r": 181,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 258.293,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74558,
    "c": 0.11841,
    "h": 297.5
  },
  "luminance": 0.39774
}

Semantic roles & 50–950 ramp

primary
#B59CEE
secondary
#EAF2D9
accent
#D31398
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B59CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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