#BD96FC#BD96FC

#BD96FC is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.9% C 0.148 H 300.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BD96FC
RGBrgb(189, 150, 252)
HSLhsl(263, 94%, 79%)
HSVhsv(263, 40%, 99%)
CMYKcmyk(25%, 40.5%, 0%, 1.2%)
CIE-LABlab(69.23, 34.81, -45.58)
CIE-LCHlch(69.23, 57.36, 307.37°)
OKLaboklab(74.87% 0.0749 -0.1272)
OKLCHoklch(74.87% 0.148 300.5)
XYZxyz(49.4594, 39.6596, 97.1260)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD96FC #D5FC96
analogous
#96A2FC #BD96FC #F096FC
triadic
#BD96FC #FCBD96 #96FCBD
tetradic
#BD96FC #FC96A2 #D5FC96 #96FCF0
square
#BD96FC #FC96A2 #D5FC96 #96FCF0
split-complementary
#BD96FC #FCF096 #A2FC96
monochromatic
#721FF9 #985BFA #BD96FC #E2D2FE #ECE1FE

Accessibility & contrast

On white

2.35
#BD96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BD96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD96FC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD96FC#FFFFFF#000000##000000
##BD96FC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#B1A7BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd96fc;
/* rgb */ color: rgb(189, 150, 252);
/* oklch */ color: oklch(74.9% 0.148 300.5);
Tailwind
colors: {
  custom: {
    50: '#d3b5fe',
    500: '#bd96fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd96fc;
$custom-light: #d3b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd96fc",
  "rgb": {
    "r": 189,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 262.941,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74867,
    "c": 0.14758,
    "h": 300.5
  },
  "luminance": 0.3966
}

Semantic roles & 50–950 ramp

primary
#BD96FC
secondary
#E9F6D5
accent
#E6008E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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