#B851CF#B851CF

#B851CF is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.203 H 319.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B851CF
RGBrgb(184, 81, 207)
HSLhsl(289, 57%, 56%)
HSVhsv(289, 61%, 81%)
CMYKcmyk(11.1%, 60.9%, 0%, 18.8%)
CIE-LABlab(52.49, 59.62, -46.97)
CIE-LCHlch(52.49, 75.90, 321.77°)
OKLaboklab(61.59% 0.1557 -0.131)
OKLCHoklch(61.59% 0.203 319.9)
XYZxyz(33.9707, 20.5817, 61.2027)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851CF #68CF51
analogous
#7951CF #B851CF #CF51A7
triadic
#B851CF #CFB851 #51CFB8
tetradic
#B851CF #CF7951 #68CF51 #51A7CF
square
#B851CF #CF7951 #68CF51 #51A7CF
split-complementary
#B851CF #A7CF51 #51CF79
monochromatic
#712482 #9A31B2 #B851CF #CC81DC #DFB1E9

Accessibility & contrast

On white

4.10
#B851CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B851CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851CF#FFFFFF#000000##000000
##B851CF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#B96589
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b851cf;
/* rgb */ color: rgb(184, 81, 207);
/* oklch */ color: oklch(61.6% 0.203 319.9);
Tailwind
colors: {
  custom: {
    50: '#d088de',
    500: '#b851cf',
    950: '#000000',
  },
}
SCSS
$custom: #b851cf;
$custom-light: #d088de;
$custom-dark: #000000;
JSON
{
  "hex": "#b851cf",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 289.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.20346,
    "h": 319.9
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#B851CF
secondary
#ADD8A4
accent
#E04864
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B851CF

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

Preview Lab → · Contrast checker → · Palette generator →

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