#BF7AFE#BF7AFE

#BF7AFE is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.6% C 0.194 H 306.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BF7AFE
RGBrgb(191, 122, 254)
HSLhsl(271, 99%, 74%)
HSVhsv(271, 52%, 100%)
CMYKcmyk(24.8%, 52%, 0%, 0.4%)
CIE-LABlab(63.47, 50.97, -55.77)
CIE-LCHlch(63.47, 75.55, 312.43°)
OKLaboklab(70.64% 0.1146 -0.1567)
OKLCHoklch(70.64% 0.194 306.2)
XYZxyz(46.3311, 32.1516, 97.5118)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7AFE #B9FE7A
analogous
#7D7AFE #BF7AFE #FE7AFB
triadic
#BF7AFE #FEBF7A #7AFEBF
tetradic
#BF7AFE #FE7D7A #B9FE7A #7AFBFE
square
#BF7AFE #FE7D7A #B9FE7A #7AFBFE
split-complementary
#BF7AFE #FBFE7A #7AFE7D
monochromatic
#8402FC #A23DFE #BF7AFE #DCB7FE #F0E1FF

Accessibility & contrast

On white

2.83
#BF7AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BF7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7AFE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7AFE#FFFFFF#000000##000000
##BF7AFE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#B592B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bf7afe;
/* rgb */ color: rgb(191, 122, 254);
/* oklch */ color: oklch(70.6% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#d5a2ff',
    500: '#bf7afe',
    950: '#000000',
  },
}
SCSS
$custom: #bf7afe;
$custom-light: #d5a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7afe",
  "rgb": {
    "r": 191,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 271.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.19412,
    "h": 306.2
  },
  "luminance": 0.32151
}

Semantic roles & 50–950 ramp

primary
#BF7AFE
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #BF7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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