#B851EA#B851EA

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

Color values

HEX#B851EA
RGBrgb(184, 81, 234)
HSLhsl(280, 78%, 62%)
HSVhsv(280, 65%, 92%)
CMYKcmyk(21.4%, 65.4%, 0%, 8.2%)
CIE-LABlab(54.04, 64.99, -59.78)
CIE-LCHlch(54.04, 88.30, 317.39°)
OKLaboklab(63.22% 0.1552 -0.1684)
OKLCHoklch(63.22% 0.229 312.7)
XYZxyz(37.5582, 22.0168, 80.0971)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851EA #83EA51
analogous
#6C51EA #B851EA #EA51D0
triadic
#B851EA #EAB851 #51EAB8
tetradic
#B851EA #EA6C51 #83EA51 #51D0EA
square
#B851EA #EA6C51 #83EA51 #51D0EA
split-complementary
#B851EA #D0EA51 #51EA6C
monochromatic
#7A15AC #A11BE2 #B851EA #CE88F1 #E5BEF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B851EA#FFFFFF#000000##000000
##B851EA1.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)
#007CEF
Deuteranopia (green-blind)
#4583E6
Tritanopia (blue-blind)
#B36F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b851ea;
/* rgb */ color: rgb(184, 81, 234);
/* oklch */ color: oklch(63.2% 0.229 312.7);
Tailwind
colors: {
  custom: {
    50: '#d189f1',
    500: '#b851ea',
    950: '#000000',
  },
}
SCSS
$custom: #b851ea;
$custom-light: #d189f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b851ea",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 280.392,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.22905,
    "h": 312.7
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#B851EA
secondary
#C2E8AF
accent
#DB0B4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B851EA

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

Preview Lab → · Contrast checker → · Palette generator →

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