#BD97F9#BD97F9

#BD97F9 is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.9% C 0.142 H 300.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BD97F9
RGBrgb(189, 151, 249)
HSLhsl(263, 89%, 78%)
HSVhsv(263, 39%, 98%)
CMYKcmyk(24.1%, 39.4%, 0%, 2.4%)
CIE-LABlab(69.32, 33.56, -43.80)
CIE-LCHlch(69.32, 55.18, 307.46°)
OKLaboklab(74.89% 0.073 -0.122)
OKLCHoklch(74.89% 0.142 300.9)
XYZxyz(49.1480, 39.7914, 94.6954)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F9 #D3F997
analogous
#97A2F9 #BD97F9 #EE97F9
triadic
#BD97F9 #F9BD97 #97F9BD
tetradic
#BD97F9 #F997A2 #D3F997 #97F9EE
square
#BD97F9 #F997A2 #D3F997 #97F9EE
split-complementary
#BD97F9 #F9EE97 #A2F997
monochromatic
#7423F2 #985DF6 #BD97F9 #E2D1FC #EDE2FD

Accessibility & contrast

On white

2.34
#BD97F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#BD97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F9
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F9#FFFFFF#000000##000000
##BD97F91.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#B2A7BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97f9;
/* rgb */ color: rgb(189, 151, 249);
/* oklch */ color: oklch(74.9% 0.142 300.9);
Tailwind
colors: {
  custom: {
    50: '#d2b6fb',
    500: '#bd97f9',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f9;
$custom-light: #d2b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f9",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 263.265,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74894,
    "c": 0.14216,
    "h": 300.9
  },
  "luminance": 0.39792
}

Semantic roles & 50–950 ramp

primary
#BD97F9
secondary
#E9F5D6
accent
#E6008D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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