#BD97FA#BD97FA

#BD97FA is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.143 H 300.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BD97FA
RGBrgb(189, 151, 250)
HSLhsl(263, 91%, 79%)
HSVhsv(263, 40%, 98%)
CMYKcmyk(24.4%, 39.6%, 0%, 2%)
CIE-LABlab(69.37, 33.79, -44.28)
CIE-LCHlch(69.37, 55.70, 307.35°)
OKLaboklab(74.94% 0.0732 -0.1234)
OKLCHoklch(74.94% 0.143 300.7)
XYZxyz(49.3043, 39.8540, 95.5190)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FA #D4FA97
analogous
#97A2FA #BD97FA #EE97FA
triadic
#BD97FA #FABD97 #97FABD
tetradic
#BD97FA #FA97A2 #D4FA97 #97FAEE
square
#BD97FA #FA97A2 #D4FA97 #97FAEE
split-complementary
#BD97FA #FAEE97 #A2FA97
monochromatic
#7322F4 #985DF7 #BD97FA #E2D1FD #ECE2FE

Accessibility & contrast

On white

2.34
#BD97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BD97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FA#FFFFFF#000000##000000
##BD97FA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#B2A8BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97fa;
/* rgb */ color: rgb(189, 151, 250);
/* oklch */ color: oklch(74.9% 0.143 300.7);
Tailwind
colors: {
  custom: {
    50: '#d2b6fc',
    500: '#bd97fa',
    950: '#000000',
  },
}
SCSS
$custom: #bd97fa;
$custom-light: #d2b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97fa",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 263.03,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74942,
    "c": 0.14345,
    "h": 300.7
  },
  "luminance": 0.39854
}

Semantic roles & 50–950 ramp

primary
#BD97FA
secondary
#E9F6D5
accent
#E6008D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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