#A851CD#A851CD

#A851CD is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.195 H 314.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A851CD
RGBrgb(168, 81, 205)
HSLhsl(282, 55%, 56%)
HSVhsv(282, 60%, 80%)
CMYKcmyk(18%, 60.5%, 0%, 19.6%)
CIE-LABlab(50.24, 55.33, -49.54)
CIE-LCHlch(50.24, 74.27, 318.16°)
OKLaboklab(59.47% 0.1364 -0.1389)
OKLCHoklch(59.47% 0.195 314.5)
XYZxyz(30.1085, 18.6184, 59.7535)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851CD #76CD51
analogous
#6A51CD #A851CD #CD51B4
triadic
#A851CD #CDA851 #51CDA8
tetradic
#A851CD #CD6A51 #76CD51 #51B4CD
square
#A851CD #CD6A51 #76CD51 #51B4CD
split-complementary
#A851CD #B4CD51 #51CD6A
monochromatic
#64257F #8932AF #A851CD #C081DB #D8B0E8

Accessibility & contrast

On white

4.45
#A851CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A851CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851CD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851CD#FFFFFF#000000##000000
##A851CD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#A56788
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a851cd;
/* rgb */ color: rgb(168, 81, 205);
/* oklch */ color: oklch(59.5% 0.195 314.5);
Tailwind
colors: {
  custom: {
    50: '#c586dd',
    500: '#a851cd',
    950: '#000000',
  },
}
SCSS
$custom: #a851cd;
$custom-light: #c586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a851cd",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 282.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.19467,
    "h": 314.5
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#A851CD
secondary
#B3D7A3
accent
#DF4976
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A851CD

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

Preview Lab → · Contrast checker → · Palette generator →

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