#A851DE#A851DE

#A851DE is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.212 H 309.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A851DE
RGBrgb(168, 81, 222)
HSLhsl(277, 68%, 59%)
HSVhsv(277, 64%, 87%)
CMYKcmyk(24.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(51.25, 58.96, -57.61)
CIE-LCHlch(51.25, 82.43, 315.66°)
OKLaboklab(60.53% 0.136 -0.1626)
OKLCHoklch(60.53% 0.212 309.9)
XYZxyz(32.2731, 19.4843, 71.1538)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A851DE #87DE51
analogous
#6251DE #A851DE #DE51CE
triadic
#A851DE #DEA851 #51DEA8
tetradic
#A851DE #DE6251 #87DE51 #51CEDE
square
#A851DE #DE6251 #87DE51 #51CEDE
split-complementary
#A851DE #CEDE51 #51DE62
monochromatic
#691D98 #8C27CB #A851DE #C284E8 #DBB8F2

Accessibility & contrast

On white

4.29
#A851DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A851DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A851DE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A851DE#FFFFFF#000000##000000
##A851DE1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#3E7BDB
Tritanopia (blue-blind)
#A16D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a851de;
/* rgb */ color: rgb(168, 81, 222);
/* oklch */ color: oklch(60.5% 0.212 309.9);
Tailwind
colors: {
  custom: {
    50: '#c687e9',
    500: '#a851de',
    950: '#000000',
  },
}
SCSS
$custom: #a851de;
$custom-light: #c687e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a851de",
  "rgb": {
    "r": 168,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 277.021,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.21196,
    "h": 309.9
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#A851DE
secondary
#BFE1AA
accent
#EB3D80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A851DE

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

Preview Lab → · Contrast checker → · Palette generator →

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