#BD97E5#BD97E5

#BD97E5 is a light, moderate violet. Relative luminance 0.386; OKLCH L 74.0% C 0.117 H 306.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#BD97E5
RGBrgb(189, 151, 229)
HSLhsl(269, 60%, 75%)
HSVhsv(269, 34%, 90%)
CMYKcmyk(17.5%, 34.1%, 0%, 10.2%)
CIE-LABlab(68.47, 29.03, -34.18)
CIE-LCHlch(68.47, 44.84, 310.34°)
OKLaboklab(73.97% 0.0687 -0.0943)
OKLCHoklch(73.97% 0.117 306.1)
XYZxyz(46.1930, 38.6094, 79.1324)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97E5 #BFE597
analogous
#9798E5 #BD97E5 #E497E5
triadic
#BD97E5 #E5BD97 #97E5BD
tetradic
#BD97E5 #E59798 #BFE597 #97E5E4
square
#BD97E5 #E59798 #BFE597 #97E5E4
split-complementary
#BD97E5 #E5E497 #98E597
monochromatic
#7F35CD #9E66D9 #BD97E5 #DCC8F1 #EFE7F9

Accessibility & contrast

On white

2.41
#BD97E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#BD97E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97E5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97E5#FFFFFF#000000##000000
##BD97E51.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A6E8
Deuteranopia (green-blind)
#8FA7E3
Tritanopia (blue-blind)
#B7A3B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bd97e5;
/* rgb */ color: rgb(189, 151, 229);
/* oklch */ color: oklch(74.0% 0.117 306.1);
Tailwind
colors: {
  custom: {
    50: '#d2b6ed',
    500: '#bd97e5',
    950: '#000000',
  },
}
SCSS
$custom: #bd97e5;
$custom-light: #d2b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97e5",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 269.231,
    "s": 60,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73965,
    "c": 0.11671,
    "h": 306.1
  },
  "luminance": 0.38609
}

Semantic roles & 50–950 ramp

primary
#BD97E5
secondary
#E6F0DB
accent
#C81E75
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BD97E5

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

Preview Lab → · Contrast checker → · Palette generator →

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