#BC97EF#BC97EF

#BC97EF is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.129 H 302.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BC97EF
RGBrgb(188, 151, 239)
HSLhsl(265, 73%, 76%)
HSVhsv(265, 37%, 94%)
CMYKcmyk(21.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(68.79, 30.97, -39.17)
CIE-LCHlch(68.79, 49.94, 308.33°)
OKLaboklab(74.33% 0.0698 -0.1087)
OKLCHoklch(74.33% 0.129 302.7)
XYZxyz(47.3823, 39.0566, 86.6871)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC97EF #CAEF97
analogous
#979EEF #BC97EF #E897EF
triadic
#BC97EF #EFBC97 #97EFBC
tetradic
#BC97EF #EF979E #CAEF97 #97EFE8
square
#BC97EF #EF979E #CAEF97 #97EFE8
split-complementary
#BC97EF #EFE897 #9EEF97
monochromatic
#782DDF #9A62E7 #BC97EF #DECCF7 #EEE4FB

Accessibility & contrast

On white

2.38
#BC97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BC97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC97EF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC97EF#FFFFFF#000000##000000
##BC97EF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F2
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#B3A5B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bc97ef;
/* rgb */ color: rgb(188, 151, 239);
/* oklch */ color: oklch(74.3% 0.129 302.7);
Tailwind
colors: {
  custom: {
    50: '#d1b6f4',
    500: '#bc97ef',
    950: '#000000',
  },
}
SCSS
$custom: #bc97ef;
$custom-light: #d1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc97ef",
  "rgb": {
    "r": 188,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 265.227,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74328,
    "c": 0.12916,
    "h": 302.7
  },
  "luminance": 0.39057
}

Semantic roles & 50–950 ramp

primary
#BC97EF
secondary
#E8F3D8
accent
#D51082
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BC97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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