#A851DA#A851DA

#A851DA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.208 H 310.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A851DA
RGBrgb(168, 81, 218)
HSLhsl(278, 65%, 59%)
HSVhsv(278, 63%, 85%)
CMYKcmyk(22.9%, 62.8%, 0%, 14.5%)
CIE-LABlab(51.00, 58.09, -55.73)
CIE-LCHlch(51.00, 80.50, 316.19°)
OKLaboklab(60.28% 0.1362 -0.1571)
OKLCHoklch(60.28% 0.208 310.9)
XYZxyz(31.7434, 19.2724, 68.3638)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851DA #83DA51
analogous
#6351DA #A851DA #DA51C7
triadic
#A851DA #DAA851 #51DAA8
tetradic
#A851DA #DA6351 #83DA51 #51C7DA
square
#A851DA #DA6351 #83DA51 #51C7DA
split-complementary
#A851DA #C7DA51 #51DA63
monochromatic
#681F92 #8C2AC4 #A851DA #C183E5 #DAB6EF

Accessibility & contrast

On white

4.33
#A851DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A851DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851DA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851DA#FFFFFF#000000##000000
##A851DA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0975DE
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#A26C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a851da;
/* rgb */ color: rgb(168, 81, 218);
/* oklch */ color: oklch(60.3% 0.208 310.9);
Tailwind
colors: {
  custom: {
    50: '#c687e6',
    500: '#a851da',
    950: '#000000',
  },
}
SCSS
$custom: #a851da;
$custom-light: #c687e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a851da",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 278.102,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.20788,
    "h": 310.9
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#A851DA
secondary
#BCDEA8
accent
#E8407D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A851DA

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

Preview Lab → · Contrast checker → · Palette generator →

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