#BFAFEC#BFAFEC

#BFAFEC is a light, moderate violet. Relative luminance 0.478; OKLCH L 78.9% C 0.087 H 296.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#BFAFEC
RGBrgb(191, 175, 236)
HSLhsl(256, 62%, 81%)
HSVhsv(256, 26%, 93%)
CMYKcmyk(19.1%, 25.8%, 0%, 7.5%)
CIE-LABlab(74.69, 17.89, -28.38)
CIE-LCHlch(74.69, 33.55, 302.23°)
OKLaboklab(78.87% 0.0386 -0.0779)
OKLCHoklch(78.87% 0.087 296.4)
XYZxyz(51.9528, 47.7921, 85.8283)
Luminance0.4779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAFEC #DCECAF
analogous
#AFBDEC #BFAFEC #DDAFEC
triadic
#BFAFEC #ECBFAF #AFECBF
tetradic
#BFAFEC #ECAFBD #DCECAF #AFECDD
square
#BFAFEC #ECAFBD #DCECAF #AFECDD
split-complementary
#BFAFEC #ECDDAF #BDECAF
monochromatic
#704CD5 #977EE0 #BFAFEC #E7E0F8 #EBE6F9

Accessibility & contrast

On white

1.99
#BFAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#BFAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAFEC
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAFEC#FFFFFF#000000##000000
##BFAFEC1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B8EF
Deuteranopia (green-blind)
#A4B7EA
Tritanopia (blue-blind)
#B7B8C4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bfafec;
/* rgb */ color: rgb(191, 175, 236);
/* oklch */ color: oklch(78.9% 0.087 296.4);
Tailwind
colors: {
  custom: {
    50: '#d3c7f2',
    500: '#bfafec',
    950: '#000000',
  },
}
SCSS
$custom: #bfafec;
$custom-light: #d3c7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bfafec",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 255.738,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78871,
    "c": 0.08697,
    "h": 296.4
  },
  "luminance": 0.47792
}

Semantic roles & 50–950 ramp

primary
#BFAFEC
secondary
#EBF0DB
accent
#C91C9C
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141317
muted
#838285

Preview Lab

Preview with #BFAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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