#B951E1#B951E1

#B951E1 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.8% C 0.221 H 315.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B951E1
RGBrgb(185, 81, 225)
HSLhsl(283, 71%, 60%)
HSVhsv(283, 64%, 88%)
CMYKcmyk(17.8%, 64%, 0%, 11.8%)
CIE-LABlab(53.64, 63.39, -55.35)
CIE-LCHlch(53.64, 84.16, 318.87°)
OKLaboklab(62.78% 0.1569 -0.1554)
OKLCHoklch(62.78% 0.221 315.3)
XYZxyz(36.5385, 21.6367, 73.4711)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951E1 #79E151
analogous
#7151E1 #B951E1 #E151C1
triadic
#B951E1 #E1B951 #51E1B9
tetradic
#B951E1 #E17151 #79E151 #51C1E1
square
#B951E1 #E17151 #79E151 #51C1E1
split-complementary
#B951E1 #C1E151 #51E171
monochromatic
#791B9D #A124D1 #B951E1 #CE85EA #E3B9F3

Accessibility & contrast

On white

3.94
#B951E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B951E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951E1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951E1#FFFFFF#000000##000000
##B951E11.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#127AE5
Deuteranopia (green-blind)
#4F83DE
Tritanopia (blue-blind)
#B66C92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b951e1;
/* rgb */ color: rgb(185, 81, 225);
/* oklch */ color: oklch(62.8% 0.221 315.3);
Tailwind
colors: {
  custom: {
    50: '#d288eb',
    500: '#b951e1',
    950: '#000000',
  },
}
SCSS
$custom: #b951e1;
$custom-light: #d288eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b951e1",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 283.333,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.6278,
    "c": 0.22082,
    "h": 315.3
  },
  "luminance": 0.21635
}

Semantic roles & 50–950 ramp

primary
#B951E1
secondary
#BBE3AB
accent
#ED3A6C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951E1

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

Preview Lab → · Contrast checker → · Palette generator →

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