#BD97F7#BD97F7

#BD97F7 is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.8% C 0.140 H 301.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BD97F7
RGBrgb(189, 151, 247)
HSLhsl(264, 86%, 78%)
HSVhsv(264, 39%, 97%)
CMYKcmyk(23.5%, 38.9%, 0%, 3.1%)
CIE-LABlab(69.23, 33.10, -42.85)
CIE-LCHlch(69.23, 54.14, 307.68°)
OKLaboklab(74.8% 0.0726 -0.1192)
OKLCHoklch(74.8% 0.14 301.3)
XYZxyz(48.8377, 39.6673, 93.0613)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F7 #D1F797
analogous
#97A1F7 #BD97F7 #ED97F7
triadic
#BD97F7 #F7BD97 #97F7BD
tetradic
#BD97F7 #F797A1 #D1F797 #97F7ED
square
#BD97F7 #F797A1 #D1F797 #97F7ED
split-complementary
#BD97F7 #F7ED97 #A1F797
monochromatic
#7525EE #995EF3 #BD97F7 #E1D0FB #EDE3FD

Accessibility & contrast

On white

2.35
#BD97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BD97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F7#FFFFFF#000000##000000
##BD97F71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#B3A7BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97f7;
/* rgb */ color: rgb(189, 151, 247);
/* oklch */ color: oklch(74.8% 0.140 301.3);
Tailwind
colors: {
  custom: {
    50: '#d2b6fa',
    500: '#bd97f7',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f7;
$custom-light: #d2b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f7",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 263.75,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74797,
    "c": 0.13961,
    "h": 301.3
  },
  "luminance": 0.39667
}

Semantic roles & 50–950 ramp

primary
#BD97F7
secondary
#E9F5D6
accent
#E2038A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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