#BD97EB#BD97EB

#BD97EB is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.2% C 0.124 H 304.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BD97EB
RGBrgb(189, 151, 235)
HSLhsl(267, 68%, 76%)
HSVhsv(267, 36%, 92%)
CMYKcmyk(19.6%, 35.7%, 0%, 7.8%)
CIE-LABlab(68.72, 30.36, -37.09)
CIE-LCHlch(68.72, 47.93, 309.30°)
OKLaboklab(74.24% 0.0701 -0.1027)
OKLCHoklch(74.24% 0.124 304.3)
XYZxyz(47.0452, 38.9503, 83.6209)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97EB #C5EB97
analogous
#979BEB #BD97EB #E797EB
triadic
#BD97EB #EBBD97 #97EBBD
tetradic
#BD97EB #EB979B #C5EB97 #97EBE7
square
#BD97EB #EB979B #C5EB97 #97EBE7
split-complementary
#BD97EB #EBE797 #9BEB97
monochromatic
#7C30D7 #9C64E1 #BD97EB #DECAF5 #EFE5FA

Accessibility & contrast

On white

2.39
#BD97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BD97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97EB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97EB#FFFFFF#000000##000000
##BD97EB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#B6A4B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd97eb;
/* rgb */ color: rgb(189, 151, 235);
/* oklch */ color: oklch(74.2% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#d2b6f1',
    500: '#bd97eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd97eb;
$custom-light: #d2b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97eb",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 267.143,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74236,
    "c": 0.12432,
    "h": 304.3
  },
  "luminance": 0.3895
}

Semantic roles & 50–950 ramp

primary
#BD97EB
secondary
#E7F2D9
accent
#D0167C
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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