#B59DF8#B59DF8

#B59DF8 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.2% C 0.130 H 295.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B59DF8
RGBrgb(181, 157, 248)
HSLhsl(256, 87%, 79%)
HSVhsv(256, 37%, 97%)
CMYKcmyk(27%, 36.7%, 0%, 2.7%)
CIE-LABlab(69.98, 27.73, -42.28)
CIE-LCHlch(69.98, 50.57, 303.26°)
OKLaboklab(75.21% 0.0555 -0.1178)
OKLCHoklch(75.21% 0.13 295.2)
XYZxyz(48.0522, 40.7144, 94.1158)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59DF8 #E0F89D
analogous
#9DB3F8 #B59DF8 #E39DF8
triadic
#B59DF8 #F8B59D #9DF8B5
tetradic
#B59DF8 #F89DB3 #E0F89D #9DF8E3
square
#B59DF8 #F89DB3 #E0F89D #9DF8E3
split-complementary
#B59DF8 #F8E39D #B3F89D
monochromatic
#5F2BF0 #8A64F4 #B59DF8 #E0D6FC #E9E2FD

Accessibility & contrast

On white

2.30
#B59DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B59DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59DF8
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59DF8#FFFFFF#000000##000000
##B59DF81.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#A7ADBF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b59df8;
/* rgb */ color: rgb(181, 157, 248);
/* oklch */ color: oklch(75.2% 0.130 295.2);
Tailwind
colors: {
  custom: {
    50: '#cdbafb',
    500: '#b59df8',
    950: '#000000',
  },
}
SCSS
$custom: #b59df8;
$custom-light: #cdbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#b59df8",
  "rgb": {
    "r": 181,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 255.824,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.13019,
    "h": 295.2
  },
  "luminance": 0.40715
}

Semantic roles & 50–950 ramp

primary
#B59DF8
secondary
#EDF5D6
accent
#E302A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B59DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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