#BD97DF#BD97DF

#BD97DF is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.7% C 0.109 H 308.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#BD97DF
RGBrgb(189, 151, 223)
HSLhsl(272, 53%, 73%)
HSVhsv(272, 32%, 87%)
CMYKcmyk(15.2%, 32.3%, 0%, 12.5%)
CIE-LABlab(68.23, 27.72, -31.25)
CIE-LCHlch(68.23, 41.77, 311.57°)
OKLaboklab(73.7% 0.0673 -0.086)
OKLCHoklch(73.7% 0.109 308)
XYZxyz(45.3697, 38.2801, 74.7964)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97DF #B9DF97
analogous
#9997DF #BD97DF #DF97DD
triadic
#BD97DF #DFBD97 #97DFBD
tetradic
#BD97DF #DF9997 #B9DF97 #97DDDF
square
#BD97DF #DF9997 #B9DF97 #97DDDF
split-complementary
#BD97DF #DDDF97 #97DF99
monochromatic
#813BC0 #9F68D1 #BD97DF #DBC6ED #F0E8F8

Accessibility & contrast

On white

2.43
#BD97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#BD97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97DF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97DF#FFFFFF#000000##000000
##BD97DF1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A5E2
Deuteranopia (green-blind)
#91A7DD
Tritanopia (blue-blind)
#B9A1B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bd97df;
/* rgb */ color: rgb(189, 151, 223);
/* oklch */ color: oklch(73.7% 0.109 308.0);
Tailwind
colors: {
  custom: {
    50: '#d1b6e9',
    500: '#bd97df',
    950: '#000000',
  },
}
SCSS
$custom: #bd97df;
$custom-light: #d1b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97df",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 271.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73703,
    "c": 0.10914,
    "h": 308
  },
  "luminance": 0.3828
}

Semantic roles & 50–950 ramp

primary
#BD97DF
secondary
#E5EFDC
accent
#C0256E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BD97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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