#B59AF2#B59AF2

#B59AF2 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.127 H 297.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B59AF2
RGBrgb(181, 154, 242)
HSLhsl(258, 77%, 78%)
HSVhsv(258, 36%, 95%)
CMYKcmyk(25.2%, 36.4%, 0%, 5.1%)
CIE-LABlab(69.00, 27.98, -40.53)
CIE-LCHlch(69.00, 49.25, 304.62°)
OKLaboklab(74.38% 0.0583 -0.1127)
OKLCHoklch(74.38% 0.127 297.3)
XYZxyz(46.6350, 39.3454, 89.1247)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59AF2 #D7F29A
analogous
#9AABF2 #B59AF2 #E19AF2
triadic
#B59AF2 #F2B59A #9AF2B5
tetradic
#B59AF2 #F29AAB #D7F29A #9AF2E1
square
#B59AF2 #F29AAB #D7F29A #9AF2E1
split-complementary
#B59AF2 #F2E19A #ABF29A
monochromatic
#662EE4 #8D64EB #B59AF2 #DDD0F9 #EBE4FC

Accessibility & contrast

On white

2.37
#B59AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B59AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59AF2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59AF2#FFFFFF#000000##000000
##B59AF21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A9F5
Deuteranopia (green-blind)
#88A7F0
Tritanopia (blue-blind)
#A9A9BB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b59af2;
/* rgb */ color: rgb(181, 154, 242);
/* oklch */ color: oklch(74.4% 0.127 297.3);
Tailwind
colors: {
  custom: {
    50: '#cdb8f6',
    500: '#b59af2',
    950: '#000000',
  },
}
SCSS
$custom: #b59af2;
$custom-light: #cdb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b59af2",
  "rgb": {
    "r": 181,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 258.409,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7438,
    "c": 0.12691,
    "h": 297.3
  },
  "luminance": 0.39346
}

Semantic roles & 50–950 ramp

primary
#B59AF2
secondary
#EBF3D8
accent
#D90C9A
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B59AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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