#A051DC#A051DC

#A051DC is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.208 H 307.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A051DC
RGBrgb(160, 81, 220)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(27.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(50.13, 56.74, -58.33)
CIE-LCHlch(50.13, 81.37, 314.21°)
OKLaboklab(59.47% 0.126 -0.1649)
OKLCHoklch(59.47% 0.208 307.4)
XYZxyz(30.3552, 18.5261, 69.6730)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051DC #8DDC51
analogous
#5B51DC #A051DC #DC51D2
triadic
#A051DC #DCA051 #51DCA0
tetradic
#A051DC #DC5B51 #8DDC51 #51D2DC
square
#A051DC #DC5B51 #8DDC51 #51D2DC
split-complementary
#A051DC #D2DC51 #51DC5B
monochromatic
#611E95 #8328C8 #A051DC #BC84E6 #D8B7F0

Accessibility & contrast

On white

4.46
#A051DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A051DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051DC#FFFFFF#000000##000000
##A051DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#966E8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a051dc;
/* rgb */ color: rgb(160, 81, 220);
/* oklch */ color: oklch(59.5% 0.208 307.4);
Tailwind
colors: {
  custom: {
    50: '#c086e8',
    500: '#a051dc',
    950: '#000000',
  },
}
SCSS
$custom: #a051dc;
$custom-light: #c086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a051dc",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 274.101,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.20752,
    "h": 307.4
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#A051DC
secondary
#C1E0A9
accent
#E93E88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A051DC

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

Preview Lab → · Contrast checker → · Palette generator →

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