#BD97FD#BD97FD

#BD97FD is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.1% C 0.147 H 300.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#BD97FD
RGBrgb(189, 151, 253)
HSLhsl(262, 96%, 79%)
HSVhsv(262, 40%, 99%)
CMYKcmyk(25.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(69.50, 34.49, -45.70)
CIE-LCHlch(69.50, 57.25, 307.05°)
OKLaboklab(75.09% 0.0737 -0.1275)
OKLCHoklch(75.09% 0.147 300)
XYZxyz(49.7785, 40.0437, 98.0162)
Luminance0.4004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FD #D7FD97
analogous
#97A4FD #BD97FD #F097FD
triadic
#BD97FD #FDBD97 #97FDBD
tetradic
#BD97FD #FD97A4 #D7FD97 #97FDF0
square
#BD97FD #FD97A4 #D7FD97 #97FDF0
split-complementary
#BD97FD #FDF097 #A4FD97
monochromatic
#711FFB #975BFC #BD97FD #E3D3FE #ECE1FE

Accessibility & contrast

On white

2.33
#BD97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#BD97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FD
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FD#FFFFFF#000000##000000
##BD97FD1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#B1A8BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd97fd;
/* rgb */ color: rgb(189, 151, 253);
/* oklch */ color: oklch(75.1% 0.147 300.0);
Tailwind
colors: {
  custom: {
    50: '#d3b6fe',
    500: '#bd97fd',
    950: '#000000',
  },
}
SCSS
$custom: #bd97fd;
$custom-light: #d3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97fd",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 262.353,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75089,
    "c": 0.14727,
    "h": 300
  },
  "luminance": 0.40044
}

Semantic roles & 50–950 ramp

primary
#BD97FD
secondary
#EAF7D4
accent
#E60090
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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