#BD97F5#BD97F5

#BD97F5 is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.137 H 301.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BD97F5
RGBrgb(189, 151, 245)
HSLhsl(264, 82%, 78%)
HSVhsv(264, 38%, 96%)
CMYKcmyk(22.9%, 38.4%, 0%, 3.9%)
CIE-LABlab(69.14, 32.63, -41.90)
CIE-LCHlch(69.14, 53.11, 307.92°)
OKLaboklab(74.7% 0.0722 -0.1165)
OKLCHoklch(74.7% 0.137 301.8)
XYZxyz(48.5307, 39.5446, 91.4446)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F5 #CFF597
analogous
#97A0F5 #BD97F5 #EC97F5
triadic
#BD97F5 #F5BD97 #97F5BD
tetradic
#BD97F5 #F597A0 #CFF597 #97F5EC
square
#BD97F5 #F597A0 #CFF597 #97F5EC
split-complementary
#BD97F5 #F5EC97 #A0F597
monochromatic
#7627EA #9A5FF0 #BD97F5 #E0CFFA #EDE3FC

Accessibility & contrast

On white

2.36
#BD97F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BD97F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F5#FFFFFF#000000##000000
##BD97F51.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#B3A6BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97f5;
/* rgb */ color: rgb(189, 151, 245);
/* oklch */ color: oklch(74.7% 0.137 301.8);
Tailwind
colors: {
  custom: {
    50: '#d2b6f9',
    500: '#bd97f5',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f5;
$custom-light: #d2b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f5",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 264.255,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74702,
    "c": 0.13706,
    "h": 301.8
  },
  "luminance": 0.39545
}

Semantic roles & 50–950 ramp

primary
#BD97F5
secondary
#E8F4D7
accent
#DF0787
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F5

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

Preview Lab → · Contrast checker → · Palette generator →

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