#B851E6#B851E6

#B851E6 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.0% C 0.225 H 313.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B851E6
RGBrgb(184, 81, 230)
HSLhsl(281, 75%, 61%)
HSVhsv(281, 65%, 90%)
CMYKcmyk(20%, 64.8%, 0%, 9.8%)
CIE-LABlab(53.80, 64.18, -57.92)
CIE-LCHlch(53.80, 86.45, 317.93°)
OKLaboklab(62.97% 0.1555 -0.163)
OKLCHoklch(62.97% 0.225 313.6)
XYZxyz(36.9901, 21.7895, 77.1048)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851E6 #7FE651
analogous
#6D51E6 #B851E6 #E651C9
triadic
#B851E6 #E6B851 #51E6B8
tetradic
#B851E6 #E66D51 #7FE651 #51C9E6
square
#B851E6 #E66D51 #7FE651 #51C9E6
split-complementary
#B851E6 #C9E651 #51E66D
monochromatic
#7918A5 #A11FDA #B851E6 #CE87EE #E4BCF5

Accessibility & contrast

On white

3.92
#B851E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B851E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851E6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851E6#FFFFFF#000000##000000
##B851E61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#4983E3
Tritanopia (blue-blind)
#B46E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b851e6;
/* rgb */ color: rgb(184, 81, 230);
/* oklch */ color: oklch(63.0% 0.225 313.6);
Tailwind
colors: {
  custom: {
    50: '#d188ef',
    500: '#b851e6',
    950: '#000000',
  },
}
SCSS
$custom: #b851e6;
$custom-light: #d188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b851e6",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 281.477,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.22523,
    "h": 313.6
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#B851E6
secondary
#BFE5AD
accent
#D70E4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B851E6

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

Preview Lab → · Contrast checker → · Palette generator →

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