#BFAFF2#BFAFF2

#BFAFF2 is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.1% C 0.095 H 295.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#BFAFF2
RGBrgb(191, 175, 242)
HSLhsl(254, 72%, 82%)
HSVhsv(254, 28%, 95%)
CMYKcmyk(21.1%, 27.7%, 0%, 5.1%)
CIE-LABlab(74.92, 19.24, -31.29)
CIE-LCHlch(74.92, 36.73, 301.59°)
OKLaboklab(79.12% 0.0403 -0.0861)
OKLCHoklch(79.12% 0.095 295.1)
XYZxyz(52.8392, 48.1466, 90.4966)
Luminance0.4815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAFF2 #E2F2AF
analogous
#AFC1F2 #BFAFF2 #E1AFF2
triadic
#BFAFF2 #F2BFAF #AFF2BF
tetradic
#BFAFF2 #F2AFC1 #E2F2AF #AFF2E1
square
#BFAFF2 #F2AFC1 #E2F2AF #AFF2E1
split-complementary
#BFAFF2 #F2E1AF #C1F2AF
monochromatic
#6B46E1 #957AE9 #BFAFF2 #E9E4FB #EAE5FB

Accessibility & contrast

On white

1.98
#BFAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#BFAFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAFF2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAFF2#FFFFFF#000000##000000
##BFAFF21.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB9F5
Deuteranopia (green-blind)
#A1B7F0
Tritanopia (blue-blind)
#B5BAC7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bfaff2;
/* rgb */ color: rgb(191, 175, 242);
/* oklch */ color: oklch(79.1% 0.095 295.1);
Tailwind
colors: {
  custom: {
    50: '#d3c7f6',
    500: '#bfaff2',
    950: '#000000',
  },
}
SCSS
$custom: #bfaff2;
$custom-light: #d3c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaff2",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 254.328,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79117,
    "c": 0.09513,
    "h": 295.1
  },
  "luminance": 0.48147
}

Semantic roles & 50–950 ramp

primary
#BFAFF2
secondary
#ECF2D9
accent
#D411A6
background
#FDFCFF
surface
#FAF8FE
border
#D3D1D6
text
#141317
muted
#838285

Preview Lab

Preview with #BFAFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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