#B59FEF#B59FEF

#B59FEF is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.2% C 0.115 H 296.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B59FEF
RGBrgb(181, 159, 239)
HSLhsl(257, 71%, 78%)
HSVhsv(257, 33%, 94%)
CMYKcmyk(24.3%, 33.5%, 0%, 6.3%)
CIE-LABlab(70.07, 24.47, -37.23)
CIE-LCHlch(70.07, 44.55, 303.32°)
OKLaboklab(75.16% 0.0507 -0.1032)
OKLCHoklch(75.16% 0.115 296.2)
XYZxyz(47.0306, 40.8516, 87.0520)
Luminance0.4085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59FEF #D9EF9F
analogous
#9FB1EF #B59FEF #DD9FEF
triadic
#B59FEF #EFB59F #9FEFB5
tetradic
#B59FEF #EF9FB1 #D9EF9F #9FEFDD
square
#B59FEF #EF9FB1 #D9EF9F #9FEFDD
split-complementary
#B59FEF #EFDD9F #B1EF9F
monochromatic
#6436DE #8D6BE6 #B59FEF #DDD3F8 #EBE5FB

Accessibility & contrast

On white

2.29
#B59FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#B59FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59FEF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59FEF#FFFFFF#000000##000000
##B59FEF1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#8EAAED
Tritanopia (blue-blind)
#A9ACBC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b59fef;
/* rgb */ color: rgb(181, 159, 239);
/* oklch */ color: oklch(75.2% 0.115 296.2);
Tailwind
colors: {
  custom: {
    50: '#ccbbf4',
    500: '#b59fef',
    950: '#000000',
  },
}
SCSS
$custom: #b59fef;
$custom-light: #ccbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b59fef",
  "rgb": {
    "r": 181,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 256.5,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75156,
    "c": 0.115,
    "h": 296.2
  },
  "luminance": 0.40852
}

Semantic roles & 50–950 ramp

primary
#B59FEF
secondary
#EBF2D9
accent
#D3129E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #B59FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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