#A851DB#A851DB

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

Color values

HEX#A851DB
RGBrgb(168, 81, 219)
HSLhsl(278, 66%, 59%)
HSVhsv(278, 63%, 86%)
CMYKcmyk(23.3%, 63%, 0%, 14.1%)
CIE-LABlab(51.07, 58.31, -56.20)
CIE-LCHlch(51.07, 80.98, 316.05°)
OKLaboklab(60.34% 0.1362 -0.1584)
OKLCHoklch(60.34% 0.209 310.7)
XYZxyz(31.8746, 19.3249, 69.0550)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851DB #84DB51
analogous
#6351DB #A851DB #DB51C9
triadic
#A851DB #DBA851 #51DBA8
tetradic
#A851DB #DB6351 #84DB51 #51C9DB
square
#A851DB #DB6351 #84DB51 #51C9DB
split-complementary
#A851DB #C9DB51 #51DB63
monochromatic
#681E93 #8C29C6 #A851DB #C184E5 #DBB6F0

Accessibility & contrast

On white

4.32
#A851DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A851DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851DB#FFFFFF#000000##000000
##A851DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0476DF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#A16C8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a851db;
/* rgb */ color: rgb(168, 81, 219);
/* oklch */ color: oklch(60.3% 0.209 310.7);
Tailwind
colors: {
  custom: {
    50: '#c687e7',
    500: '#a851db',
    950: '#000000',
  },
}
SCSS
$custom: #a851db;
$custom-light: #c687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a851db",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 277.826,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.2089,
    "h": 310.7
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#A851DB
secondary
#BDDFA9
accent
#E93F7E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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