#B19AFB#B19AFB

#B19AFB is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.138 H 293.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B19AFB
RGBrgb(177, 154, 251)
HSLhsl(254, 92%, 79%)
HSVhsv(254, 39%, 98%)
CMYKcmyk(29.5%, 38.6%, 0%, 1.6%)
CIE-LABlab(69.06, 29.03, -45.38)
CIE-LCHlch(69.06, 53.87, 302.61°)
OKLaboklab(74.47% 0.0556 -0.1268)
OKLCHoklch(74.47% 0.138 293.7)
XYZxyz(47.0953, 39.4226, 96.3762)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B19AFB #E4FB9A
analogous
#9AB4FB #B19AFB #E29AFB
triadic
#B19AFB #FBB19A #9AFBB1
tetradic
#B19AFB #FB9AB4 #E4FB9A #9AFBE2
square
#B19AFB #FB9AB4 #E4FB9A #9AFBE2
split-complementary
#B19AFB #FBE29A #B4FB9A
monochromatic
#5624F6 #845FF9 #B19AFB #DED5FD #E8E2FE

Accessibility & contrast

On white

2.36
#B19AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B19AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B19AFB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B19AFB#FFFFFF#000000##000000
##B19AFB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#A1ABBF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b19afb;
/* rgb */ color: rgb(177, 154, 251);
/* oklch */ color: oklch(74.5% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#cab8fd',
    500: '#b19afb',
    950: '#000000',
  },
}
SCSS
$custom: #b19afb;
$custom-light: #cab8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b19afb",
  "rgb": {
    "r": 177,
    "g": 154,
    "b": 251
  },
  "hsl": {
    "h": 254.227,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.13846,
    "h": 293.7
  },
  "luminance": 0.39423
}

Semantic roles & 50–950 ramp

primary
#B19AFB
secondary
#EEF6D5
accent
#E600AF
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B19AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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