#B59AFA#B59AFA

#B59AFA is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.8% C 0.137 H 295.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B59AFA
RGBrgb(181, 154, 250)
HSLhsl(257, 91%, 79%)
HSVhsv(257, 38%, 98%)
CMYKcmyk(27.6%, 38.4%, 0%, 2%)
CIE-LABlab(69.35, 29.89, -44.35)
CIE-LCHlch(69.35, 53.48, 303.98°)
OKLaboklab(74.76% 0.0599 -0.1237)
OKLCHoklch(74.76% 0.137 295.8)
XYZxyz(47.8628, 39.8365, 95.5915)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59AFA #DFFA9A
analogous
#9AAFFA #B59AFA #E59AFA
triadic
#B59AFA #FAB59A #9AFAB5
tetradic
#B59AFA #FA9AAF #DFFA9A #9AFAE5
square
#B59AFA #FA9AAF #DFFA9A #9AFAE5
split-complementary
#B59AFA #FAE59A #AFFA9A
monochromatic
#6025F4 #8A60F7 #B59AFA #E0D4FD #EAE2FE

Accessibility & contrast

On white

2.34
#B59AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B59AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59AFA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59AFA#FFFFFF#000000##000000
##B59AFA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#A7ABBE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b59afa;
/* rgb */ color: rgb(181, 154, 250);
/* oklch */ color: oklch(74.8% 0.137 295.8);
Tailwind
colors: {
  custom: {
    50: '#cdb8fc',
    500: '#b59afa',
    950: '#000000',
  },
}
SCSS
$custom: #b59afa;
$custom-light: #cdb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b59afa",
  "rgb": {
    "r": 181,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 256.875,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74764,
    "c": 0.13749,
    "h": 295.8
  },
  "luminance": 0.39837
}

Semantic roles & 50–950 ramp

primary
#B59AFA
secondary
#EDF6D5
accent
#E600A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B59AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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