#BF7AEB#BF7AEB

#BF7AEB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.173 H 310.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BF7AEB
RGBrgb(191, 122, 235)
HSLhsl(277, 74%, 70%)
HSVhsv(277, 48%, 92%)
CMYKcmyk(18.7%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.50, 46.76, -46.82)
CIE-LCHlch(62.50, 66.17, 314.97°)
OKLaboklab(69.61% 0.1128 -0.1306)
OKLCHoklch(69.61% 0.173 310.8)
XYZxyz(43.4381, 30.9944, 82.2754)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7AEB #A6EB7A
analogous
#867AEB #BF7AEB #EB7ADF
triadic
#BF7AEB #EBBF7A #7AEBBF
tetradic
#BF7AEB #EB867A #A6EB7A #7ADFEB
square
#BF7AEB #EB867A #A6EB7A #7ADFEB
split-complementary
#BF7AEB #DFEB7A #7AEB86
monochromatic
#881FCC #A545E3 #BF7AEB #D9AFF3 #F2E4FB

Accessibility & contrast

On white

2.92
#BF7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#BF7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7AEB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7AEB#FFFFFF#000000##000000
##BF7AEB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#BA8CA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bf7aeb;
/* rgb */ color: rgb(191, 122, 235);
/* oklch */ color: oklch(69.6% 0.173 310.8);
Tailwind
colors: {
  custom: {
    50: '#d4a2f2',
    500: '#bf7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #bf7aeb;
$custom-light: #d4a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7aeb",
  "rgb": {
    "r": 191,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 276.637,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.17257,
    "h": 310.8
  },
  "luminance": 0.30994
}

Semantic roles & 50–950 ramp

primary
#BF7AEB
secondary
#DDF0D1
accent
#D6105D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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