#B951EA#B951EA

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

Color values

HEX#B951EA
RGBrgb(185, 81, 234)
HSLhsl(281, 78%, 62%)
HSVhsv(281, 65%, 92%)
CMYKcmyk(20.9%, 65.4%, 0%, 8.2%)
CIE-LABlab(54.18, 65.21, -59.56)
CIE-LCHlch(54.18, 88.31, 317.59°)
OKLaboklab(63.34% 0.1565 -0.1677)
OKLCHoklch(63.34% 0.229 313)
XYZxyz(37.7987, 22.1407, 80.1084)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951EA #82EA51
analogous
#6D51EA #B951EA #EA51CF
triadic
#B951EA #EAB951 #51EAB9
tetradic
#B951EA #EA6D51 #82EA51 #51CFEA
square
#B951EA #EA6D51 #82EA51 #51CFEA
split-complementary
#B951EA #CFEA51 #51EA6D
monochromatic
#7B15AC #A31BE2 #B951EA #CF88F1 #E5BEF7

Accessibility & contrast

On white

3.87
#B951EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B951EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951EA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951EA#FFFFFF#000000##000000
##B951EA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#B46F97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b951ea;
/* rgb */ color: rgb(185, 81, 234);
/* oklch */ color: oklch(63.3% 0.229 313.0);
Tailwind
colors: {
  custom: {
    50: '#d289f1',
    500: '#b951ea',
    950: '#000000',
  },
}
SCSS
$custom: #b951ea;
$custom-light: #d289f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ea",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 280.784,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.22939,
    "h": 313
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#B951EA
secondary
#C1E8AF
accent
#DB0B4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B951EA

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

Preview Lab → · Contrast checker → · Palette generator →

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