#BF97EC#BF97EC

#BF97EC is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.5% C 0.126 H 305.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BF97EC
RGBrgb(191, 151, 236)
HSLhsl(268, 69%, 76%)
HSVhsv(268, 36%, 93%)
CMYKcmyk(19.1%, 36%, 0%, 7.5%)
CIE-LABlab(68.94, 31.18, -37.27)
CIE-LCHlch(68.94, 48.59, 309.91°)
OKLaboklab(74.47% 0.0726 -0.1031)
OKLCHoklch(74.47% 0.126 305.2)
XYZxyz(47.6897, 39.2659, 84.4073)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97EC #C4EC97
analogous
#9799EC #BF97EC #E997EC
triadic
#BF97EC #ECBF97 #97ECBF
tetradic
#BF97EC #EC9799 #C4EC97 #97ECE9
square
#BF97EC #EC9799 #C4EC97 #97ECE9
split-complementary
#BF97EC #ECE997 #99EC97
monochromatic
#7F30D9 #9F63E3 #BF97EC #DFCBF5 #EFE5FA

Accessibility & contrast

On white

2.37
#BF97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BF97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97EC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97EC#FFFFFF#000000##000000
##BF97EC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#B8A4B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bf97ec;
/* rgb */ color: rgb(191, 151, 236);
/* oklch */ color: oklch(74.5% 0.126 305.2);
Tailwind
colors: {
  custom: {
    50: '#d3b6f2',
    500: '#bf97ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf97ec;
$custom-light: #d3b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97ec",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 268.235,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.12615,
    "h": 305.2
  },
  "luminance": 0.39266
}

Semantic roles & 50–950 ramp

primary
#BF97EC
secondary
#E6F2D9
accent
#D11478
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BF97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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