#BF8AFC#BF8AFC

#BF8AFC is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.0% C 0.167 H 304.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BF8AFC
RGBrgb(191, 138, 252)
HSLhsl(268, 95%, 76%)
HSVhsv(268, 45%, 99%)
CMYKcmyk(24.2%, 45.2%, 0%, 1.2%)
CIE-LABlab(66.73, 41.95, -49.49)
CIE-LCHlch(66.73, 64.88, 310.28°)
OKLaboklab(73.04% 0.0934 -0.1384)
OKLCHoklch(73.04% 0.167 304)
XYZxyz(48.1413, 36.2817, 96.5435)
Luminance0.3628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF8AFC #C7FC8A
analogous
#8A8EFC #BF8AFC #F88AFC
triadic
#BF8AFC #FCBF8A #8AFCBF
tetradic
#BF8AFC #FC8A8E #C7FC8A #8AFCF8
square
#BF8AFC #FC8A8E #C7FC8A #8AFCF8
split-complementary
#BF8AFC #FCF88A #8EFC8A
monochromatic
#7E13F9 #9E4EFA #BF8AFC #E0C6FE #EFE1FE

Accessibility & contrast

On white

2.54
#BF8AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#BF8AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF8AFC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF8AFC#FFFFFF#000000##000000
##BF8AFC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#B59DB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bf8afc;
/* rgb */ color: rgb(191, 138, 252);
/* oklch */ color: oklch(73.0% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#d4adfe',
    500: '#bf8afc',
    950: '#000000',
  },
}
SCSS
$custom: #bf8afc;
$custom-light: #d4adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf8afc",
  "rgb": {
    "r": 191,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 267.895,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73035,
    "c": 0.16701,
    "h": 304
  },
  "luminance": 0.36282
}

Semantic roles & 50–950 ramp

primary
#BF8AFC
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BF8AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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