#A051DF#A051DF

#A051DF is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.211 H 306.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A051DF
RGBrgb(160, 81, 223)
HSLhsl(273, 69%, 60%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(28.3%, 63.7%, 0%, 12.5%)
CIE-LABlab(50.32, 57.41, -59.73)
CIE-LCHlch(50.32, 82.85, 313.87°)
OKLaboklab(59.66% 0.1258 -0.169)
OKLCHoklch(59.66% 0.211 306.7)
XYZxyz(30.7561, 18.6865, 71.7843)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A051DF #90DF51
analogous
#5951DF #A051DF #DF51D7
triadic
#A051DF #DFA051 #51DFA0
tetradic
#A051DF #DF5951 #90DF51 #51D7DF
square
#A051DF #DF5951 #90DF51 #51D7DF
split-complementary
#A051DF #D7DF51 #51DF59
monochromatic
#621C99 #8326CD #A051DF #BC85E9 #D8B8F2

Accessibility & contrast

On white

4.43
#A051DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A051DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A051DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A051DF#FFFFFF#000000##000000
##A051DF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#966F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a051df;
/* rgb */ color: rgb(160, 81, 223);
/* oklch */ color: oklch(59.7% 0.211 306.7);
Tailwind
colors: {
  custom: {
    50: '#c086ea',
    500: '#a051df',
    950: '#000000',
  },
}
SCSS
$custom: #a051df;
$custom-light: #c086ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a051df",
  "rgb": {
    "r": 160,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 273.38,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.21069,
    "h": 306.7
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#A051DF
secondary
#C3E1AA
accent
#EC3C8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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