#B59CEF#B59CEF

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

Color values

HEX#B59CEF
RGBrgb(181, 156, 239)
HSLhsl(258, 72%, 77%)
HSVhsv(258, 35%, 94%)
CMYKcmyk(24.3%, 34.7%, 0%, 6.3%)
CIE-LABlab(69.35, 26.15, -38.35)
CIE-LCHlch(69.35, 46.42, 304.29°)
OKLaboklab(74.6% 0.0549 -0.1064)
OKLCHoklch(74.6% 0.12 297.3)
XYZxyz(46.5209, 39.8323, 86.8821)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59CEF #D6EF9C
analogous
#9CADEF #B59CEF #DE9CEF
triadic
#B59CEF #EFB59C #9CEFB5
tetradic
#B59CEF #EF9CAD #D6EF9C #9CEFDE
square
#B59CEF #EF9CAD #D6EF9C #9CEFDE
split-complementary
#B59CEF #EFDE9C #ADEF9C
monochromatic
#6633DE #8E67E6 #B59CEF #DCD1F8 #EBE5FB

Accessibility & contrast

On white

2.34
#B59CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B59CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59CEF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59CEF#FFFFFF#000000##000000
##B59CEF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#AAAABB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b59cef;
/* rgb */ color: rgb(181, 156, 239);
/* oklch */ color: oklch(74.6% 0.120 297.3);
Tailwind
colors: {
  custom: {
    50: '#ccb9f4',
    500: '#b59cef',
    950: '#000000',
  },
}
SCSS
$custom: #b59cef;
$custom-light: #ccb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b59cef",
  "rgb": {
    "r": 181,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 258.072,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.11975,
    "h": 297.3
  },
  "luminance": 0.39833
}

Semantic roles & 50–950 ramp

primary
#B59CEF
secondary
#EBF2D9
accent
#D4119A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B59CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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