#BD97FF#BD97FF

#BD97FF is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.150 H 299.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BD97FF
RGBrgb(189, 151, 255)
HSLhsl(262, 100%, 80%)
HSVhsv(262, 41%, 100%)
CMYKcmyk(25.9%, 40.8%, 0%, 0%)
CIE-LABlab(69.59, 34.96, -46.64)
CIE-LCHlch(69.59, 58.29, 306.86°)
OKLaboklab(75.19% 0.0741 -0.1302)
OKLCHoklch(75.19% 0.15 299.6)
XYZxyz(50.0988, 40.1718, 99.7029)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FF #D9FF97
analogous
#97A5FF #BD97FF #F197FF
triadic
#BD97FF #FFBD97 #97FFBD
tetradic
#BD97FF #FF97A5 #D9FF97 #97FFF1
square
#BD97FF #FF97A5 #D9FF97 #97FFF1
split-complementary
#BD97FF #FFF197 #A5FF97
monochromatic
#6F1DFF #965AFF #BD97FF #E4D4FF #ECE0FF

Accessibility & contrast

On white

2.32
#BD97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BD97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FF#FFFFFF#000000##000000
##BD97FF1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#B0A9BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd97ff;
/* rgb */ color: rgb(189, 151, 255);
/* oklch */ color: oklch(75.2% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#d3b6ff',
    500: '#bd97ff',
    950: '#000000',
  },
}
SCSS
$custom: #bd97ff;
$custom-light: #d3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97ff",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 261.923,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75188,
    "c": 0.14982,
    "h": 299.6
  },
  "luminance": 0.40172
}

Semantic roles & 50–950 ramp

primary
#BD97FF
secondary
#EAF7D4
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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