#BD97FE#BD97FE

#BD97FE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.1% C 0.149 H 299.8°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BD97FE
RGBrgb(189, 151, 254)
HSLhsl(262, 98%, 79%)
HSVhsv(262, 41%, 100%)
CMYKcmyk(25.6%, 40.6%, 0%, 0.4%)
CIE-LABlab(69.55, 34.73, -46.17)
CIE-LCHlch(69.55, 57.77, 306.95°)
OKLaboklab(75.14% 0.0739 -0.1288)
OKLCHoklch(75.14% 0.149 299.8)
XYZxyz(49.9382, 40.1075, 98.8573)
Luminance0.4011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FE #D8FE97
analogous
#97A5FE #BD97FE #F197FE
triadic
#BD97FE #FEBD97 #97FEBD
tetradic
#BD97FE #FE97A5 #D8FE97 #97FEF1
square
#BD97FE #FE97A5 #D8FE97 #97FEF1
split-complementary
#BD97FE #FEF197 #A5FE97
monochromatic
#701EFD #975AFD #BD97FE #E3D4FF #ECE1FF

Accessibility & contrast

On white

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

On black

9.02
#BD97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FE#FFFFFF#000000##000000
##BD97FE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#B1A9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd97fe;
/* rgb */ color: rgb(189, 151, 254);
/* oklch */ color: oklch(75.1% 0.149 299.8);
Tailwind
colors: {
  custom: {
    50: '#d3b6ff',
    500: '#bd97fe',
    950: '#000000',
  },
}
SCSS
$custom: #bd97fe;
$custom-light: #d3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97fe",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 262.136,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75138,
    "c": 0.14855,
    "h": 299.8
  },
  "luminance": 0.40108
}

Semantic roles & 50–950 ramp

primary
#BD97FE
secondary
#EAF7D4
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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