#BFA1F7#BFA1F7

#BFA1F7 is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.8% C 0.124 H 299.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BFA1F7
RGBrgb(191, 161, 247)
HSLhsl(261, 84%, 80%)
HSVhsv(261, 35%, 97%)
CMYKcmyk(22.7%, 34.8%, 0%, 3.1%)
CIE-LABlab(71.75, 28.13, -38.91)
CIE-LCHlch(71.75, 48.01, 305.86°)
OKLaboklab(76.75% 0.0611 -0.1079)
OKLCHoklch(76.75% 0.124 299.5)
XYZxyz(51.0155, 43.2813, 93.6441)
Luminance0.4328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA1F7 #D9F7A1
analogous
#A1AEF7 #BFA1F7 #EAA1F7
triadic
#BFA1F7 #F7BFA1 #A1F7BF
tetradic
#BFA1F7 #F7A1AE #D9F7A1 #A1F7EA
square
#BFA1F7 #F7A1AE #D9F7A1 #A1F7EA
split-complementary
#BFA1F7 #F7EAA1 #AEF7A1
monochromatic
#7230ED #9969F2 #BFA1F7 #E5D9FC #ECE3FD

Accessibility & contrast

On white

2.17
#BFA1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BFA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA1F7
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA1F7#FFFFFF#000000##000000
##BFA1F71.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB0FA
Deuteranopia (green-blind)
#92AFF5
Tritanopia (blue-blind)
#B5AFC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfa1f7;
/* rgb */ color: rgb(191, 161, 247);
/* oklch */ color: oklch(76.8% 0.124 299.5);
Tailwind
colors: {
  custom: {
    50: '#d3bdfa',
    500: '#bfa1f7',
    950: '#000000',
  },
}
SCSS
$custom: #bfa1f7;
$custom-light: #d3bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa1f7",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 260.93,
    "s": 84.314,
    "l": 80
  },
  "oklch": {
    "l": 0.76751,
    "c": 0.12399,
    "h": 299.5
  },
  "luminance": 0.43282
}

Semantic roles & 50–950 ramp

primary
#BFA1F7
secondary
#EAF5D6
accent
#E10594
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #BFA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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