#BD97FB#BD97FB

#BD97FB is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.0% C 0.145 H 300.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BD97FB
RGBrgb(189, 151, 251)
HSLhsl(263, 93%, 79%)
HSVhsv(263, 40%, 98%)
CMYKcmyk(24.7%, 39.8%, 0%, 1.6%)
CIE-LABlab(69.41, 34.03, -44.75)
CIE-LCHlch(69.41, 56.22, 307.25°)
OKLaboklab(74.99% 0.0734 -0.1247)
OKLCHoklch(74.99% 0.145 300.5)
XYZxyz(49.4616, 39.9169, 96.3470)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FB #D5FB97
analogous
#97A3FB #BD97FB #EF97FB
triadic
#BD97FB #FBBD97 #97FBBD
tetradic
#BD97FB #FB97A3 #D5FB97 #97FBEF
square
#BD97FB #FB97A3 #D5FB97 #97FBEF
split-complementary
#BD97FB #FBEF97 #A3FB97
monochromatic
#7221F6 #985CF9 #BD97FB #E2D2FD #ECE2FE

Accessibility & contrast

On white

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

On black

8.98
#BD97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FB
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FB#FFFFFF#000000##000000
##BD97FB1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd97fb;
/* rgb */ color: rgb(189, 151, 251);
/* oklch */ color: oklch(75.0% 0.145 300.5);
Tailwind
colors: {
  custom: {
    50: '#d3b6fd',
    500: '#bd97fb',
    950: '#000000',
  },
}
SCSS
$custom: #bd97fb;
$custom-light: #d3b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97fb",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 262.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.14472,
    "h": 300.5
  },
  "luminance": 0.39917
}

Semantic roles & 50–950 ramp

primary
#BD97FB
secondary
#E9F6D5
accent
#E6008E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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