#B851CC#B851CC

#B851CC is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.201 H 320.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B851CC
RGBrgb(184, 81, 204)
HSLhsl(290, 55%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(9.8%, 60.3%, 0%, 20%)
CIE-LABlab(52.33, 59.05, -45.51)
CIE-LCHlch(52.33, 74.56, 322.38°)
OKLaboklab(61.42% 0.1556 -0.1267)
OKLCHoklch(61.42% 0.201 320.8)
XYZxyz(33.6074, 20.4364, 59.2894)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851CC #65CC51
analogous
#7A51CC #B851CC #CC51A2
triadic
#B851CC #CCB851 #51CCB8
tetradic
#B851CC #CC7A51 #65CC51 #51A2CC
square
#B851CC #CC7A51 #65CC51 #51A2CC
split-complementary
#B851CC #A2CC51 #51CC7A
monochromatic
#6F257E #9933AD #B851CC #CB80DA #DFB0E8

Accessibility & contrast

On white

4.13
#B851CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B851CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851CC#FFFFFF#000000##000000
##B851CC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#B96487
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b851cc;
/* rgb */ color: rgb(184, 81, 204);
/* oklch */ color: oklch(61.4% 0.201 320.8);
Tailwind
colors: {
  custom: {
    50: '#d088dc',
    500: '#b851cc',
    950: '#000000',
  },
}
SCSS
$custom: #b851cc;
$custom-light: #d088dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b851cc",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 290.244,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.20067,
    "h": 320.8
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#B851CC
secondary
#ABD6A3
accent
#DE4A62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B851CC

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

Preview Lab → · Contrast checker → · Palette generator →

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