#B59EFE#B59EFE

#B59EFE is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.7% C 0.137 H 293.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B59EFE
RGBrgb(181, 158, 254)
HSLhsl(254, 98%, 81%)
HSVhsv(254, 38%, 100%)
CMYKcmyk(28.7%, 37.8%, 0%, 0.4%)
CIE-LABlab(70.48, 28.63, -44.76)
CIE-LCHlch(70.48, 53.13, 302.60°)
OKLaboklab(75.68% 0.0554 -0.1249)
OKLCHoklch(75.68% 0.137 293.9)
XYZxyz(49.1679, 41.4325, 99.1536)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59EFE #E7FE9E
analogous
#9EB7FE #B59EFE #E59EFE
triadic
#B59EFE #FEB59E #9EFEB5
tetradic
#B59EFE #FE9EB7 #E7FE9E #9EFEE5
square
#B59EFE #FE9EB7 #E7FE9E #9EFEE5
split-complementary
#B59EFE #FEE59E #B7FE9E
monochromatic
#5925FD #8761FD #B59EFE #E3DBFF #E8E1FF

Accessibility & contrast

On white

2.26
#B59EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B59EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59EFE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59EFE#FFFFFF#000000##000000
##B59EFE1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#86ABFC
Tritanopia (blue-blind)
#A5AFC2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b59efe;
/* rgb */ color: rgb(181, 158, 254);
/* oklch */ color: oklch(75.7% 0.137 293.9);
Tailwind
colors: {
  custom: {
    50: '#cdbaff',
    500: '#b59efe',
    950: '#000000',
  },
}
SCSS
$custom: #b59efe;
$custom-light: #cdbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#b59efe",
  "rgb": {
    "r": 181,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 254.375,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75678,
    "c": 0.13665,
    "h": 293.9
  },
  "luminance": 0.41433
}

Semantic roles & 50–950 ramp

primary
#B59EFE
secondary
#EFF7D4
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B59EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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