#BD97E7#BD97E7

#BD97E7 is a light, moderate violet. Relative luminance 0.387; OKLCH L 74.1% C 0.119 H 305.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#BD97E7
RGBrgb(189, 151, 231)
HSLhsl(269, 63%, 75%)
HSVhsv(269, 35%, 91%)
CMYKcmyk(18.2%, 34.6%, 0%, 9.4%)
CIE-LABlab(68.55, 29.47, -35.15)
CIE-LCHlch(68.55, 45.87, 309.97°)
OKLaboklab(74.06% 0.0692 -0.0971)
OKLCHoklch(74.06% 0.119 305.5)
XYZxyz(46.4738, 38.7218, 80.6115)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97E7 #C1E797
analogous
#9799E7 #BD97E7 #E597E7
triadic
#BD97E7 #E7BD97 #97E7BD
tetradic
#BD97E7 #E79799 #C1E797 #97E7E5
square
#BD97E7 #E79799 #C1E797 #97E7E5
split-complementary
#BD97E7 #E7E597 #99E797
monochromatic
#7E34D0 #9D65DC #BD97E7 #DDC9F2 #EFE6F9

Accessibility & contrast

On white

2.40
#BD97E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BD97E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97E7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97E7#FFFFFF#000000##000000
##BD97E71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EA
Deuteranopia (green-blind)
#8EA7E5
Tritanopia (blue-blind)
#B7A3B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bd97e7;
/* rgb */ color: rgb(189, 151, 231);
/* oklch */ color: oklch(74.1% 0.119 305.5);
Tailwind
colors: {
  custom: {
    50: '#d2b6ef',
    500: '#bd97e7',
    950: '#000000',
  },
}
SCSS
$custom: #bd97e7;
$custom-light: #d2b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97e7",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 231
  },
  "hsl": {
    "h": 268.5,
    "s": 62.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74055,
    "c": 0.11924,
    "h": 305.5
  },
  "luminance": 0.38722
}

Semantic roles & 50–950 ramp

primary
#BD97E7
secondary
#E6F1DA
accent
#CA1B77
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #BD97E7

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

Preview Lab → · Contrast checker → · Palette generator →

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