#A851CF#A851CF

#A851CF is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.6% C 0.197 H 313.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A851CF
RGBrgb(168, 81, 207)
HSLhsl(281, 57%, 56%)
HSVhsv(281, 61%, 81%)
CMYKcmyk(18.8%, 60.9%, 0%, 18.8%)
CIE-LABlab(50.35, 55.75, -50.50)
CIE-LCHlch(50.35, 75.23, 317.83°)
OKLaboklab(59.59% 0.1364 -0.1417)
OKLCHoklch(59.59% 0.197 313.9)
XYZxyz(30.3515, 18.7156, 61.0330)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851CF #78CF51
analogous
#6951CF #A851CF #CF51B7
triadic
#A851CF #CFA851 #51CFA8
tetradic
#A851CF #CF6951 #78CF51 #51B7CF
square
#A851CF #CF6951 #78CF51 #51B7CF
split-complementary
#A851CF #B7CF51 #51CF69
monochromatic
#652482 #8A31B2 #A851CF #C081DC #D8B1E9

Accessibility & contrast

On white

4.43
#A851CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A851CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851CF#FFFFFF#000000##000000
##A851CF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#A56889
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a851cf;
/* rgb */ color: rgb(168, 81, 207);
/* oklch */ color: oklch(59.6% 0.197 313.9);
Tailwind
colors: {
  custom: {
    50: '#c587de',
    500: '#a851cf',
    950: '#000000',
  },
}
SCSS
$custom: #a851cf;
$custom-light: #c587de;
$custom-dark: #000000;
JSON
{
  "hex": "#a851cf",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 281.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.1967,
    "h": 313.9
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#A851CF
secondary
#B4D8A4
accent
#E04877
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A851CF

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

Preview Lab → · Contrast checker → · Palette generator →

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