#B951E8#B951E8

#B951E8 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.2% C 0.227 H 313.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B951E8
RGBrgb(185, 81, 232)
HSLhsl(281, 77%, 61%)
HSVhsv(281, 65%, 91%)
CMYKcmyk(20.3%, 65.1%, 0%, 9%)
CIE-LABlab(54.06, 64.80, -58.63)
CIE-LCHlch(54.06, 87.39, 317.86°)
OKLaboklab(63.21% 0.1566 -0.165)
OKLCHoklch(63.21% 0.227 313.5)
XYZxyz(37.5130, 22.0265, 78.6037)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E8 #80E851
analogous
#6E51E8 #B951E8 #E851CB
triadic
#B951E8 #E8B951 #51E8B9
tetradic
#B951E8 #E86E51 #80E851 #51CBE8
square
#B951E8 #E86E51 #80E851 #51CBE8
split-complementary
#B951E8 #CBE851 #51E86E
monochromatic
#7B16A8 #A21DDE #B951E8 #CF87EF #E4BDF6

Accessibility & contrast

On white

3.89
#B951E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B951E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E8#FFFFFF#000000##000000
##B951E81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#4884E4
Tritanopia (blue-blind)
#B46F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b951e8;
/* rgb */ color: rgb(185, 81, 232);
/* oklch */ color: oklch(63.2% 0.227 313.5);
Tailwind
colors: {
  custom: {
    50: '#d289f0',
    500: '#b951e8',
    950: '#000000',
  },
}
SCSS
$custom: #b951e8;
$custom-light: #d289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e8",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 281.325,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.22748,
    "h": 313.5
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#B951E8
secondary
#C0E7AE
accent
#D90D4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B951E8

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

Preview Lab → · Contrast checker → · Palette generator →

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