#BF97EF#BF97EF

#BF97EF is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.130 H 304.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BF97EF
RGBrgb(191, 151, 239)
HSLhsl(267, 73%, 76%)
HSVhsv(267, 37%, 94%)
CMYKcmyk(20.1%, 36.8%, 0%, 6.3%)
CIE-LABlab(69.07, 31.85, -38.72)
CIE-LCHlch(69.07, 50.13, 309.44°)
OKLaboklab(74.6% 0.0733 -0.1073)
OKLCHoklch(74.6% 0.13 304.3)
XYZxyz(48.1293, 39.4417, 86.7221)
Luminance0.3944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97EF #C7EF97
analogous
#979BEF #BF97EF #EB97EF
triadic
#BF97EF #EFBF97 #97EFBF
tetradic
#BF97EF #EF979B #C7EF97 #97EFEB
square
#BF97EF #EF979B #C7EF97 #97EFEB
split-complementary
#BF97EF #EFEB97 #9BEF97
monochromatic
#7E2DDF #9E62E7 #BF97EF #E0CCF7 #EFE4FB

Accessibility & contrast

On white

2.36
#BF97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#BF97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97EF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97EF#FFFFFF#000000##000000
##BF97EF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#B7A5B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bf97ef;
/* rgb */ color: rgb(191, 151, 239);
/* oklch */ color: oklch(74.6% 0.130 304.3);
Tailwind
colors: {
  custom: {
    50: '#d3b6f4',
    500: '#bf97ef',
    950: '#000000',
  },
}
SCSS
$custom: #bf97ef;
$custom-light: #d3b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97ef",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 267.273,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.12993,
    "h": 304.3
  },
  "luminance": 0.39442
}

Semantic roles & 50–950 ramp

primary
#BF97EF
secondary
#E7F3D8
accent
#D5107C
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BF97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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