#B851CD#B851CD

#B851CD is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.202 H 320.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B851CD
RGBrgb(184, 81, 205)
HSLhsl(290, 55%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(10.2%, 60.5%, 0%, 19.6%)
CIE-LABlab(52.38, 59.24, -46.00)
CIE-LCHlch(52.38, 75.00, 322.17°)
OKLaboklab(61.48% 0.1556 -0.1281)
OKLCHoklch(61.48% 0.202 320.5)
XYZxyz(33.7277, 20.4846, 59.9231)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851CD #66CD51
analogous
#7A51CD #B851CD #CD51A4
triadic
#B851CD #CDB851 #51CDB8
tetradic
#B851CD #CD7A51 #66CD51 #51A4CD
square
#B851CD #CD7A51 #66CD51 #51A4CD
split-complementary
#B851CD #A4CD51 #51CD7A
monochromatic
#70257F #9A32AF #B851CD #CB81DB #DFB0E8

Accessibility & contrast

On white

4.12
#B851CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B851CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851CD#FFFFFF#000000##000000
##B851CD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#B96588
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b851cd;
/* rgb */ color: rgb(184, 81, 205);
/* oklch */ color: oklch(61.5% 0.202 320.5);
Tailwind
colors: {
  custom: {
    50: '#d088dd',
    500: '#b851cd',
    950: '#000000',
  },
}
SCSS
$custom: #b851cd;
$custom-light: #d088dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b851cd",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 289.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.2016,
    "h": 320.5
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#B851CD
secondary
#ACD7A3
accent
#DF4962
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B851CD

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

Preview Lab → · Contrast checker → · Palette generator →

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