#BD96FE#BD96FE

#BD96FE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.0% C 0.150 H 300.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BD96FE
RGBrgb(189, 150, 254)
HSLhsl(263, 98%, 79%)
HSVhsv(263, 41%, 100%)
CMYKcmyk(25.6%, 40.9%, 0%, 0.4%)
CIE-LABlab(69.32, 35.28, -46.53)
CIE-LCHlch(69.32, 58.39, 307.17°)
OKLaboklab(74.97% 0.0753 -0.1299)
OKLCHoklch(74.97% 0.15 300.1)
XYZxyz(49.7780, 39.7870, 98.8039)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD96FE #D7FE96
analogous
#96A3FE #BD96FE #F196FE
triadic
#BD96FE #FEBD96 #96FEBD
tetradic
#BD96FE #FE96A3 #D7FE96 #96FEF1
square
#BD96FE #FE96A3 #D7FE96 #96FEF1
split-complementary
#BD96FE #FEF196 #A3FE96
monochromatic
#711DFD #9759FD #BD96FE #E3D3FF #ECE1FF

Accessibility & contrast

On white

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

On black

8.96
#BD96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD96FE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD96FE#FFFFFF#000000##000000
##BD96FE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#82A9FB
Tritanopia (blue-blind)
#B1A8BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd96fe;
/* rgb */ color: rgb(189, 150, 254);
/* oklch */ color: oklch(75.0% 0.150 300.1);
Tailwind
colors: {
  custom: {
    50: '#d3b5ff',
    500: '#bd96fe',
    950: '#000000',
  },
}
SCSS
$custom: #bd96fe;
$custom-light: #d3b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd96fe",
  "rgb": {
    "r": 189,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 262.5,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74965,
    "c": 0.15012,
    "h": 300.1
  },
  "luminance": 0.39787
}

Semantic roles & 50–950 ramp

primary
#BD96FE
secondary
#EAF7D4
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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