#BF8AFA#BF8AFA

#BF8AFA is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.9% C 0.165 H 304.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BF8AFA
RGBrgb(191, 138, 250)
HSLhsl(268, 92%, 76%)
HSVhsv(268, 45%, 98%)
CMYKcmyk(23.6%, 44.8%, 0%, 2%)
CIE-LABlab(66.64, 41.49, -48.55)
CIE-LCHlch(66.64, 63.86, 310.52°)
OKLaboklab(72.93% 0.0932 -0.1357)
OKLCHoklch(72.93% 0.165 304.5)
XYZxyz(47.8260, 36.1556, 94.8831)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF8AFA #C5FA8A
analogous
#8A8DFA #BF8AFA #F78AFA
triadic
#BF8AFA #FABF8A #8AFABF
tetradic
#BF8AFA #FA8A8D #C5FA8A #8AFAF7
square
#BF8AFA #FA8A8D #C5FA8A #8AFAF7
split-complementary
#BF8AFA #FAF78A #8DFA8A
monochromatic
#7F15F5 #9F4FF7 #BF8AFA #DFC5FD #EFE2FE

Accessibility & contrast

On white

2.55
#BF8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BF8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF8AFA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF8AFA#FFFFFF#000000##000000
##BF8AFA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#B59DB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bf8afa;
/* rgb */ color: rgb(191, 138, 250);
/* oklch */ color: oklch(72.9% 0.165 304.5);
Tailwind
colors: {
  custom: {
    50: '#d4adfc',
    500: '#bf8afa',
    950: '#000000',
  },
}
SCSS
$custom: #bf8afa;
$custom-light: #d4adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bf8afa",
  "rgb": {
    "r": 191,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 268.393,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72932,
    "c": 0.16458,
    "h": 304.5
  },
  "luminance": 0.36155
}

Semantic roles & 50–950 ramp

primary
#BF8AFA
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BF8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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