#BD97F8#BD97F8

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

Color values

HEX#BD97F8
RGBrgb(189, 151, 248)
HSLhsl(264, 87%, 78%)
HSVhsv(264, 39%, 97%)
CMYKcmyk(23.8%, 39.1%, 0%, 2.7%)
CIE-LABlab(69.28, 33.33, -43.33)
CIE-LCHlch(69.28, 54.66, 307.57°)
OKLaboklab(74.85% 0.0728 -0.1206)
OKLCHoklch(74.85% 0.141 301.1)
XYZxyz(48.9924, 39.7292, 93.8762)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F8 #D2F897
analogous
#97A1F8 #BD97F8 #ED97F8
triadic
#BD97F8 #F8BD97 #97F8BD
tetradic
#BD97F8 #F897A1 #D2F897 #97F8ED
square
#BD97F8 #F897A1 #D2F897 #97F8ED
split-complementary
#BD97F8 #F8ED97 #A1F897
monochromatic
#7424F0 #995EF4 #BD97F8 #E1D0FC #EDE2FD

Accessibility & contrast

On white

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

On black

8.95
#BD97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F8#FFFFFF#000000##000000
##BD97F81.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd97f8;
/* rgb */ color: rgb(189, 151, 248);
/* oklch */ color: oklch(74.8% 0.141 301.1);
Tailwind
colors: {
  custom: {
    50: '#d2b6fb',
    500: '#bd97f8',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f8;
$custom-light: #d2b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f8",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 263.505,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74846,
    "c": 0.14089,
    "h": 301.1
  },
  "luminance": 0.39729
}

Semantic roles & 50–950 ramp

primary
#BD97F8
secondary
#E9F5D6
accent
#E4028B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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