#BD97EF#BD97EF

#BD97EF is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.4% C 0.129 H 303.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BD97EF
RGBrgb(189, 151, 239)
HSLhsl(266, 73%, 76%)
HSVhsv(266, 37%, 94%)
CMYKcmyk(20.9%, 36.8%, 0%, 6.3%)
CIE-LABlab(68.88, 31.26, -39.02)
CIE-LCHlch(68.88, 50.00, 308.70°)
OKLaboklab(74.42% 0.071 -0.1082)
OKLCHoklch(74.42% 0.129 303.3)
XYZxyz(47.6296, 39.1841, 86.6987)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97EF #C9EF97
analogous
#979DEF #BD97EF #E997EF
triadic
#BD97EF #EFBD97 #97EFBD
tetradic
#BD97EF #EF979D #C9EF97 #97EFE9
square
#BD97EF #EF979D #C9EF97 #97EFE9
split-complementary
#BD97EF #EFE997 #9DEF97
monochromatic
#7A2DDF #9B62E7 #BD97EF #DFCCF7 #EEE4FB

Accessibility & contrast

On white

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

On black

8.84
#BD97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97EF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97EF#FFFFFF#000000##000000
##BD97EF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd97ef;
/* rgb */ color: rgb(189, 151, 239);
/* oklch */ color: oklch(74.4% 0.129 303.3);
Tailwind
colors: {
  custom: {
    50: '#d2b6f4',
    500: '#bd97ef',
    950: '#000000',
  },
}
SCSS
$custom: #bd97ef;
$custom-light: #d2b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97ef",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 265.909,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7442,
    "c": 0.1294,
    "h": 303.3
  },
  "luminance": 0.39184
}

Semantic roles & 50–950 ramp

primary
#BD97EF
secondary
#E7F3D8
accent
#D51080
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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