#BFABFF#BFABFF

#BFABFF is a light, moderate violet. Relative luminance 0.474; OKLCH L 78.9% C 0.119 H 294.5°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BFABFF
RGBrgb(191, 171, 255)
HSLhsl(254, 100%, 84%)
HSVhsv(254, 33%, 100%)
CMYKcmyk(25.1%, 32.9%, 0%, 0%)
CIE-LABlab(74.46, 24.45, -39.02)
CIE-LCHlch(74.46, 46.05, 302.07°)
OKLaboklab(78.93% 0.0492 -0.1082)
OKLCHoklch(78.93% 0.119 294.5)
XYZxyz(54.0945, 47.4215, 100.8917)
Luminance0.4742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFABFF #EBFFAB
analogous
#ABC1FF #BFABFF #E9ABFF
triadic
#BFABFF #FFBFAB #ABFFBF
tetradic
#BFABFF #FFABC1 #EBFFAB #ABFFE9
square
#BFABFF #FFABC1 #EBFFAB #ABFFE9
split-complementary
#BFABFF #FFE9AB #C1FFAB
monochromatic
#6231FF #906EFF #BFABFF #E8E0FF #E8E0FF

Accessibility & contrast

On white

2.00
#BFABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#BFABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFABFF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFABFF#FFFFFF#000000##000000
##BFABFF1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#98B6FD
Tritanopia (blue-blind)
#B2B9CA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bfabff;
/* rgb */ color: rgb(191, 171, 255);
/* oklch */ color: oklch(78.9% 0.119 294.5);
Tailwind
colors: {
  custom: {
    50: '#d3c4ff',
    500: '#bfabff',
    950: '#000000',
  },
}
SCSS
$custom: #bfabff;
$custom-light: #d3c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bfabff",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 254.286,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78933,
    "c": 0.11889,
    "h": 294.5
  },
  "luminance": 0.47422
}

Semantic roles & 50–950 ramp

primary
#BFABFF
secondary
#EFF7D4
accent
#E600AF
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141218
muted
#838186

Preview Lab

Preview with #BFABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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