#BF7AFF#BF7AFF

#BF7AFF is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.195 H 306.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BF7AFF
RGBrgb(191, 122, 255)
HSLhsl(271, 100%, 74%)
HSVhsv(271, 52%, 100%)
CMYKcmyk(25.1%, 52.2%, 0%, 0%)
CIE-LABlab(63.52, 51.19, -56.23)
CIE-LCHlch(63.52, 76.04, 312.32°)
OKLaboklab(70.69% 0.1147 -0.158)
OKLCHoklch(70.69% 0.195 306)
XYZxyz(46.4916, 32.2158, 98.3574)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7AFF #BAFF7A
analogous
#7D7AFF #BF7AFF #FF7AFC
triadic
#BF7AFF #FFBF7A #7AFFBF
tetradic
#BF7AFF #FF7D7A #BAFF7A #7AFCFF
square
#BF7AFF #FF7D7A #BAFF7A #7AFCFF
split-complementary
#BF7AFF #FCFF7A #7AFF7D
monochromatic
#8400FF #A23DFF #BF7AFF #DCB7FF #F0E0FF

Accessibility & contrast

On white

2.82
#BF7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BF7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7AFF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7AFF#FFFFFF#000000##000000
##BF7AFF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5098FF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#B592B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bf7aff;
/* rgb */ color: rgb(191, 122, 255);
/* oklch */ color: oklch(70.7% 0.195 306.0);
Tailwind
colors: {
  custom: {
    50: '#d5a2ff',
    500: '#bf7aff',
    950: '#000000',
  },
}
SCSS
$custom: #bf7aff;
$custom-light: #d5a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7aff",
  "rgb": {
    "r": 191,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 271.128,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70693,
    "c": 0.19525,
    "h": 306
  },
  "luminance": 0.32215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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