#B951E9#B951E9

#B951E9 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.228 H 313.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B951E9
RGBrgb(185, 81, 233)
HSLhsl(281, 78%, 62%)
HSVhsv(281, 65%, 91%)
CMYKcmyk(20.6%, 65.2%, 0%, 8.6%)
CIE-LABlab(54.12, 65.00, -59.09)
CIE-LCHlch(54.12, 87.85, 317.73°)
OKLaboklab(63.28% 0.1565 -0.1664)
OKLCHoklch(63.28% 0.228 313.2)
XYZxyz(37.6554, 22.0834, 79.3539)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E9 #81E951
analogous
#6D51E9 #B951E9 #E951CD
triadic
#B951E9 #E9B951 #51E9B9
tetradic
#B951E9 #E96D51 #81E951 #51CDE9
square
#B951E9 #E96D51 #81E951 #51CDE9
split-complementary
#B951E9 #CDE951 #51E96D
monochromatic
#7B16AA #A31CE0 #B951E9 #CF87F0 #E5BEF7

Accessibility & contrast

On white

3.88
#B951E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B951E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E9#FFFFFF#000000##000000
##B951E91.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4784E5
Tritanopia (blue-blind)
#B46F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b951e9;
/* rgb */ color: rgb(185, 81, 233);
/* oklch */ color: oklch(63.3% 0.228 313.2);
Tailwind
colors: {
  custom: {
    50: '#d289f1',
    500: '#b951e9',
    950: '#000000',
  },
}
SCSS
$custom: #b951e9;
$custom-light: #d289f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e9",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 281.053,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63276,
    "c": 0.22844,
    "h": 313.2
  },
  "luminance": 0.22082
}

Semantic roles & 50–950 ramp

primary
#B951E9
secondary
#C0E7AF
accent
#DA0C4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B951E9

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

Preview Lab → · Contrast checker → · Palette generator →

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