#B851E5#B851E5

#B851E5 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.9% C 0.224 H 313.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B851E5
RGBrgb(184, 81, 229)
HSLhsl(282, 74%, 61%)
HSVhsv(282, 65%, 90%)
CMYKcmyk(19.7%, 64.6%, 0%, 10.2%)
CIE-LABlab(53.74, 63.97, -57.45)
CIE-LCHlch(53.74, 85.98, 318.07°)
OKLaboklab(62.9% 0.1555 -0.1616)
OKLCHoklch(62.9% 0.224 313.9)
XYZxyz(36.8501, 21.7335, 76.3674)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851E5 #7EE551
analogous
#6E51E5 #B851E5 #E551C8
triadic
#B851E5 #E5B851 #51E5B8
tetradic
#B851E5 #E56E51 #7EE551 #51C8E5
square
#B851E5 #E56E51 #7EE551 #51C8E5
split-complementary
#B851E5 #C8E551 #51E56E
monochromatic
#7918A3 #A020D8 #B851E5 #CE86ED #E3BBF5

Accessibility & contrast

On white

3.93
#B851E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B851E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851E5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851E5#FFFFFF#000000##000000
##B851E51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#4A83E2
Tritanopia (blue-blind)
#B46E94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b851e5;
/* rgb */ color: rgb(184, 81, 229);
/* oklch */ color: oklch(62.9% 0.224 313.9);
Tailwind
colors: {
  custom: {
    50: '#d188ee',
    500: '#b851e5',
    950: '#000000',
  },
}
SCSS
$custom: #b851e5;
$custom-light: #d188ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b851e5",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 281.757,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.22427,
    "h": 313.9
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#B851E5
secondary
#BEE5AD
accent
#D60F4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B851E5

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

Preview Lab → · Contrast checker → · Palette generator →

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