#B59DF7#B59DF7

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

Color values

HEX#B59DF7
RGBrgb(181, 157, 247)
HSLhsl(256, 85%, 79%)
HSVhsv(256, 36%, 97%)
CMYKcmyk(26.7%, 36.4%, 0%, 3.1%)
CIE-LABlab(69.93, 27.49, -41.81)
CIE-LCHlch(69.93, 50.04, 303.33°)
OKLaboklab(75.16% 0.0553 -0.1164)
OKLCHoklch(75.16% 0.129 295.4)
XYZxyz(47.8975, 40.6525, 93.3009)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59DF7 #DFF79D
analogous
#9DB2F7 #B59DF7 #E29DF7
triadic
#B59DF7 #F7B59D #9DF7B5
tetradic
#B59DF7 #F79DB2 #DFF79D #9DF7E2
square
#B59DF7 #F79DB2 #DFF79D #9DF7E2
split-complementary
#B59DF7 #F7E29D #B2F79D
monochromatic
#602CEE #8A64F2 #B59DF7 #E0D6FC #EAE3FD

Accessibility & contrast

On white

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

On black

9.13
#B59DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59DF7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59DF7#FFFFFF#000000##000000
##B59DF71.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFB
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#A7ACBF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b59df7;
/* rgb */ color: rgb(181, 157, 247);
/* oklch */ color: oklch(75.2% 0.129 295.4);
Tailwind
colors: {
  custom: {
    50: '#cdbafa',
    500: '#b59df7',
    950: '#000000',
  },
}
SCSS
$custom: #b59df7;
$custom-light: #cdbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#b59df7",
  "rgb": {
    "r": 181,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 256,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75161,
    "c": 0.12886,
    "h": 295.4
  },
  "luminance": 0.40653
}

Semantic roles & 50–950 ramp

primary
#B59DF7
secondary
#EDF5D6
accent
#E104A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B59DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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