#BD97F0#BD97F0

#BD97F0 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.131 H 303.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BD97F0
RGBrgb(189, 151, 240)
HSLhsl(266, 75%, 77%)
HSVhsv(266, 37%, 94%)
CMYKcmyk(21.2%, 37.1%, 0%, 5.9%)
CIE-LABlab(68.93, 31.49, -39.50)
CIE-LCHlch(68.93, 50.52, 308.56°)
OKLaboklab(74.47% 0.0712 -0.1096)
OKLCHoklch(74.47% 0.131 303)
XYZxyz(47.7777, 39.2434, 87.4789)
Luminance0.3924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F0 #CAF097
analogous
#979EF0 #BD97F0 #EA97F0
triadic
#BD97F0 #F0BD97 #97F0BD
tetradic
#BD97F0 #F0979E #CAF097 #97F0EA
square
#BD97F0 #F0979E #CAF097 #97F0EA
split-complementary
#BD97F0 #F0EA97 #9EF097
monochromatic
#792CE1 #9B62E8 #BD97F0 #DFCCF8 #EEE4FB

Accessibility & contrast

On white

2.37
#BD97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BD97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F0#FFFFFF#000000##000000
##BD97F01.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#B5A5B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd97f0;
/* rgb */ color: rgb(189, 151, 240);
/* oklch */ color: oklch(74.5% 0.131 303.0);
Tailwind
colors: {
  custom: {
    50: '#d2b6f5',
    500: '#bd97f0',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f0;
$custom-light: #d2b6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f0",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 265.618,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74466,
    "c": 0.13069,
    "h": 303
  },
  "luminance": 0.39243
}

Semantic roles & 50–950 ramp

primary
#BD97F0
secondary
#E7F3D8
accent
#D70F81
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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