#BD97F1#BD97F1

#BD97F1 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.5% C 0.132 H 302.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BD97F1
RGBrgb(189, 151, 241)
HSLhsl(265, 76%, 77%)
HSVhsv(265, 37%, 95%)
CMYKcmyk(21.6%, 37.3%, 0%, 5.5%)
CIE-LABlab(68.97, 31.72, -39.98)
CIE-LCHlch(68.97, 51.04, 308.43°)
OKLaboklab(74.51% 0.0714 -0.111)
OKLCHoklch(74.51% 0.132 302.8)
XYZxyz(47.9267, 39.3029, 88.2634)
Luminance0.3930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F1 #CBF197
analogous
#979EF1 #BD97F1 #EA97F1
triadic
#BD97F1 #F1BD97 #97F1BD
tetradic
#BD97F1 #F1979E #CBF197 #97F1EA
square
#BD97F1 #F1979E #CBF197 #97F1EA
split-complementary
#BD97F1 #F1EA97 #9EF197
monochromatic
#792BE2 #9B61EA #BD97F1 #DFCDF8 #EEE4FB

Accessibility & contrast

On white

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

On black

8.86
#BD97F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F1#FFFFFF#000000##000000
##BD97F11.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F4
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#B4A5B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd97f1;
/* rgb */ color: rgb(189, 151, 241);
/* oklch */ color: oklch(74.5% 0.132 302.8);
Tailwind
colors: {
  custom: {
    50: '#d2b6f6',
    500: '#bd97f1',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f1;
$custom-light: #d2b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f1",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 241
  },
  "hsl": {
    "h": 265.333,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74513,
    "c": 0.13196,
    "h": 302.8
  },
  "luminance": 0.39303
}

Semantic roles & 50–950 ramp

primary
#BD97F1
secondary
#E8F3D8
accent
#D80D83
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F1

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

Preview Lab → · Contrast checker → · Palette generator →

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