#BF7AF2#BF7AF2

#BF7AF2 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.180 H 309.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#BF7AF2
RGBrgb(191, 122, 242)
HSLhsl(275, 82%, 71%)
HSVhsv(275, 50%, 95%)
CMYKcmyk(21.1%, 49.6%, 0%, 5.1%)
CIE-LABlab(62.85, 48.29, -50.14)
CIE-LCHlch(62.85, 69.61, 313.92°)
OKLaboklab(69.98% 0.1136 -0.1403)
OKLCHoklch(69.98% 0.18 309)
XYZxyz(44.4693, 31.4069, 87.7067)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7AF2 #ADF27A
analogous
#837AF2 #BF7AF2 #F27AE9
triadic
#BF7AF2 #F2BF7A #7AF2BF
tetradic
#BF7AF2 #F2837A #ADF27A #7AE9F2
square
#BF7AF2 #F2837A #ADF27A #7AE9F2
split-complementary
#BF7AF2 #E9F27A #7AF283
monochromatic
#8816DC #A442ED #BF7AF2 #DAB2F7 #F2E3FC

Accessibility & contrast

On white

2.88
#BF7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#BF7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7AF2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7AF2#FFFFFF#000000##000000
##BF7AF21.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#B88EAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bf7af2;
/* rgb */ color: rgb(191, 122, 242);
/* oklch */ color: oklch(70.0% 0.180 309.0);
Tailwind
colors: {
  custom: {
    50: '#d5a2f7',
    500: '#bf7af2',
    950: '#000000',
  },
}
SCSS
$custom: #bf7af2;
$custom-light: #d5a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7af2",
  "rgb": {
    "r": 191,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 274.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.18049,
    "h": 309
  },
  "luminance": 0.31406
}

Semantic roles & 50–950 ramp

primary
#BF7AF2
secondary
#E2F3D4
accent
#DF0763
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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