#BC97ED#BC97ED

#BC97ED is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.2% C 0.127 H 303.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BC97ED
RGBrgb(188, 151, 237)
HSLhsl(266, 70%, 76%)
HSVhsv(266, 36%, 93%)
CMYKcmyk(20.7%, 36.3%, 0%, 7.1%)
CIE-LABlab(68.71, 30.52, -38.21)
CIE-LCHlch(68.71, 48.90, 308.62°)
OKLaboklab(74.24% 0.0694 -0.1059)
OKLCHoklch(74.24% 0.127 303.2)
XYZxyz(47.0885, 38.9391, 85.1396)
Luminance0.3894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC97ED #C8ED97
analogous
#979DED #BC97ED #E797ED
triadic
#BC97ED #EDBC97 #97EDBC
tetradic
#BC97ED #ED979D #C8ED97 #97EDE7
square
#BC97ED #ED979D #C8ED97 #97EDE7
split-complementary
#BC97ED #EDE797 #9DED97
monochromatic
#792FDB #9A63E4 #BC97ED #DECBF6 #EEE5FA

Accessibility & contrast

On white

2.39
#BC97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BC97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BC97ED
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC97ED#FFFFFF#000000##000000
##BC97ED1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F0
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#B4A4B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bc97ed;
/* rgb */ color: rgb(188, 151, 237);
/* oklch */ color: oklch(74.2% 0.127 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6f3',
    500: '#bc97ed',
    950: '#000000',
  },
}
SCSS
$custom: #bc97ed;
$custom-light: #d1b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bc97ed",
  "rgb": {
    "r": 188,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 265.814,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74235,
    "c": 0.12661,
    "h": 303.2
  },
  "luminance": 0.38939
}

Semantic roles & 50–950 ramp

primary
#BC97ED
secondary
#E7F2D9
accent
#D31380
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BC97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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