#BD96F7#BD96F7

#BD96F7 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.6% C 0.141 H 301.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BD96F7
RGBrgb(189, 150, 247)
HSLhsl(264, 86%, 78%)
HSVhsv(264, 39%, 97%)
CMYKcmyk(23.5%, 39.3%, 0%, 3.1%)
CIE-LABlab(69.00, 33.65, -43.21)
CIE-LCHlch(69.00, 54.77, 307.91°)
OKLaboklab(74.62% 0.074 -0.1203)
OKLCHoklch(74.62% 0.141 301.6)
XYZxyz(48.6774, 39.3468, 93.0079)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD96F7 #D0F796
analogous
#969FF7 #BD96F7 #EE96F7
triadic
#BD96F7 #F7BD96 #96F7BD
tetradic
#BD96F7 #F7969F #D0F796 #96F7EE
square
#BD96F7 #F7969F #D0F796 #96F7EE
split-complementary
#BD96F7 #F7EE96 #9FF796
monochromatic
#7624EE #995DF3 #BD96F7 #E1CFFB #EDE3FD

Accessibility & contrast

On white

2.37
#BD96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BD96F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD96F7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD96F7#FFFFFF#000000##000000
##BD96F71.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#B3A6BB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd96f7;
/* rgb */ color: rgb(189, 150, 247);
/* oklch */ color: oklch(74.6% 0.141 301.6);
Tailwind
colors: {
  custom: {
    50: '#d2b5fa',
    500: '#bd96f7',
    950: '#000000',
  },
}
SCSS
$custom: #bd96f7;
$custom-light: #d2b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bd96f7",
  "rgb": {
    "r": 189,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 264.124,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74623,
    "c": 0.14122,
    "h": 301.6
  },
  "luminance": 0.39347
}

Semantic roles & 50–950 ramp

primary
#BD96F7
secondary
#E9F5D6
accent
#E20389
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD96F7

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

Preview Lab → · Contrast checker → · Palette generator →

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