#B19AFC#B19AFC

#B19AFC is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.5% C 0.140 H 293.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B19AFC
RGBrgb(177, 154, 252)
HSLhsl(254, 94%, 80%)
HSVhsv(254, 39%, 99%)
CMYKcmyk(29.8%, 38.9%, 0%, 1.2%)
CIE-LABlab(69.10, 29.28, -45.85)
CIE-LCHlch(69.10, 54.40, 302.56°)
OKLaboklab(74.52% 0.0558 -0.1282)
OKLCHoklch(74.52% 0.14 293.5)
XYZxyz(47.2534, 39.4858, 97.2085)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B19AFC #E5FC9A
analogous
#9AB4FC #B19AFC #E29AFC
triadic
#B19AFC #FCB19A #9AFCB1
tetradic
#B19AFC #FC9AB4 #E5FC9A #9AFCE2
square
#B19AFC #FC9AB4 #E5FC9A #9AFCE2
split-complementary
#B19AFC #FCE29A #B4FC9A
monochromatic
#5523F8 #835FFA #B19AFC #DFD5FE #E8E1FE

Accessibility & contrast

On white

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

On black

8.90
#B19AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B19AFC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B19AFC#FFFFFF#000000##000000
##B19AFC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b19afc;
/* rgb */ color: rgb(177, 154, 252);
/* oklch */ color: oklch(74.5% 0.140 293.5);
Tailwind
colors: {
  custom: {
    50: '#cab8fe',
    500: '#b19afc',
    950: '#000000',
  },
}
SCSS
$custom: #b19afc;
$custom-light: #cab8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b19afc",
  "rgb": {
    "r": 177,
    "g": 154,
    "b": 252
  },
  "hsl": {
    "h": 254.082,
    "s": 94.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7452,
    "c": 0.13979,
    "h": 293.5
  },
  "luminance": 0.39487
}

Semantic roles & 50–950 ramp

primary
#B19AFC
secondary
#EEF6D5
accent
#E600B0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B19AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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