#B59AFE#B59AFE

#B59AFE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.0% C 0.143 H 295.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B59AFE
RGBrgb(181, 154, 254)
HSLhsl(256, 98%, 80%)
HSVhsv(256, 39%, 100%)
CMYKcmyk(28.7%, 39.4%, 0%, 0.4%)
CIE-LABlab(69.53, 30.86, -46.24)
CIE-LCHlch(69.53, 55.59, 303.72°)
OKLaboklab(74.96% 0.0607 -0.1292)
OKLCHoklch(74.96% 0.143 295.2)
XYZxyz(48.4967, 40.0901, 98.9298)
Luminance0.4009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59AFE #E3FE9A
analogous
#9AB1FE #B59AFE #E79AFE
triadic
#B59AFE #FEB59A #9AFEB5
tetradic
#B59AFE #FE9AB1 #E3FE9A #9AFEE7
square
#B59AFE #FE9AB1 #E3FE9A #9AFEE7
split-complementary
#B59AFE #FEE79A #B1FE9A
monochromatic
#5C21FD #895DFD #B59AFE #E1D7FF #E9E1FF

Accessibility & contrast

On white

2.33
#B59AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#B59AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59AFE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59AFE#FFFFFF#000000##000000
##B59AFE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#A5ACC0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b59afe;
/* rgb */ color: rgb(181, 154, 254);
/* oklch */ color: oklch(75.0% 0.143 295.2);
Tailwind
colors: {
  custom: {
    50: '#cdb8ff',
    500: '#b59afe',
    950: '#000000',
  },
}
SCSS
$custom: #b59afe;
$custom-light: #cdb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b59afe",
  "rgb": {
    "r": 181,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 256.2,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.7496,
    "c": 0.14277,
    "h": 295.2
  },
  "luminance": 0.40091
}

Semantic roles & 50–950 ramp

primary
#B59AFE
secondary
#EEF7D4
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B59AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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