#B9ABFA#B9ABFA

#B9ABFA is a light, moderate violet. Relative luminance 0.463; OKLCH L 78.2% C 0.112 H 291.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B9ABFA
RGBrgb(185, 171, 250)
HSLhsl(251, 89%, 83%)
HSVhsv(251, 32%, 98%)
CMYKcmyk(26%, 31.6%, 0%, 2%)
CIE-LABlab(73.77, 21.55, -37.43)
CIE-LCHlch(73.77, 43.19, 299.92°)
OKLaboklab(78.22% 0.0414 -0.1038)
OKLCHoklch(78.22% 0.112 291.7)
XYZxyz(51.8216, 46.3414, 96.6385)
Luminance0.4634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9ABFA #ECFAAB
analogous
#ABC4FA #B9ABFA #E1ABFA
triadic
#B9ABFA #FAB9AB #ABFAB9
tetradic
#B9ABFA #FAABC4 #ECFAAB #ABFAE1
square
#B9ABFA #FAABC4 #ECFAAB #ABFAE1
split-complementary
#B9ABFA #FAE1AB #C4FAAB
monochromatic
#5937F3 #8971F7 #B9ABFA #E7E2FD #E7E2FD

Accessibility & contrast

On white

2.05
#B9ABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#B9ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9ABFA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9ABFA#FFFFFF#000000##000000
##B9ABFA1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#ABB8C8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9abfa;
/* rgb */ color: rgb(185, 171, 250);
/* oklch */ color: oklch(78.2% 0.112 291.7);
Tailwind
colors: {
  custom: {
    50: '#cfc4fc',
    500: '#b9abfa',
    950: '#000000',
  },
}
SCSS
$custom: #b9abfa;
$custom-light: #cfc4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b9abfa",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 250.633,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78217,
    "c": 0.11173,
    "h": 291.7
  },
  "luminance": 0.46342
}

Semantic roles & 50–950 ramp

primary
#B9ABFA
secondary
#F0F5D6
accent
#E500BD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #B9ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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