#A051DD#A051DD

#A051DD is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.209 H 307.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A051DD
RGBrgb(160, 81, 221)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.6%, 63.3%, 0%, 13.3%)
CIE-LABlab(50.19, 56.96, -58.80)
CIE-LCHlch(50.19, 81.86, 314.09°)
OKLaboklab(59.53% 0.1259 -0.1663)
OKLCHoklch(59.53% 0.209 307.1)
XYZxyz(30.4880, 18.5793, 70.3726)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051DD #8EDD51
analogous
#5A51DD #A051DD #DD51D4
triadic
#A051DD #DDA051 #51DDA0
tetradic
#A051DD #DD5A51 #8EDD51 #51D4DD
square
#A051DD #DD5A51 #8EDD51 #51D4DD
split-complementary
#A051DD #D4DD51 #51DD5A
monochromatic
#621D96 #8327C9 #A051DD #BC84E7 #D8B7F1

Accessibility & contrast

On white

4.45
#A051DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A051DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051DD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051DD#FFFFFF#000000##000000
##A051DD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#966E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a051dd;
/* rgb */ color: rgb(160, 81, 221);
/* oklch */ color: oklch(59.5% 0.209 307.1);
Tailwind
colors: {
  custom: {
    50: '#c086e8',
    500: '#a051dd',
    950: '#000000',
  },
}
SCSS
$custom: #a051dd;
$custom-light: #c086e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a051dd",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 273.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.20858,
    "h": 307.1
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#A051DD
secondary
#C1E0AA
accent
#EA3E89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A051DD

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

Preview Lab → · Contrast checker → · Palette generator →

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