#BF9AFE#BF9AFE

#BF9AFE is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.8% C 0.144 H 300.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BF9AFE
RGBrgb(191, 154, 254)
HSLhsl(262, 98%, 80%)
HSVhsv(262, 39%, 100%)
CMYKcmyk(24.8%, 39.4%, 0%, 0.4%)
CIE-LABlab(70.42, 33.62, -44.79)
CIE-LCHlch(70.42, 56.01, 306.89°)
OKLaboklab(75.84% 0.0722 -0.1248)
OKLCHoklch(75.84% 0.144 300)
XYZxyz(50.9268, 41.3431, 99.0437)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9AFE #D9FE9A
analogous
#9AA7FE #BF9AFE #F19AFE
triadic
#BF9AFE #FEBF9A #9AFEBF
tetradic
#BF9AFE #FE9AA7 #D9FE9A #9AFEF1
square
#BF9AFE #FE9AA7 #D9FE9A #9AFEF1
split-complementary
#BF9AFE #FEF19A #A7FE9A
monochromatic
#7221FD #995DFD #BF9AFE #E5D7FF #ECE1FF

Accessibility & contrast

On white

2.27
#BF9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BF9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9AFE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9AFE#FFFFFF#000000##000000
##BF9AFE1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#87ACFB
Tritanopia (blue-blind)
#B3ABC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bf9afe;
/* rgb */ color: rgb(191, 154, 254);
/* oklch */ color: oklch(75.8% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#d4b8ff',
    500: '#bf9afe',
    950: '#000000',
  },
}
SCSS
$custom: #bf9afe;
$custom-light: #d4b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9afe",
  "rgb": {
    "r": 191,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 262.2,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.75839,
    "c": 0.14419,
    "h": 300
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#BF9AFE
secondary
#EAF7D4
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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