#A351DC#A351DC

#A351DC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.208 H 308.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A351DC
RGBrgb(163, 81, 220)
HSLhsl(275, 67%, 59%)
HSVhsv(275, 63%, 86%)
CMYKcmyk(25.9%, 63.2%, 0%, 13.7%)
CIE-LABlab(50.50, 57.40, -57.72)
CIE-LCHlch(50.50, 81.40, 314.84°)
OKLaboklab(59.81% 0.1298 -0.163)
OKLCHoklch(59.81% 0.208 308.5)
XYZxyz(30.9624, 18.8392, 69.7015)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A351DC #8ADC51
analogous
#5E51DC #A351DC #DC51CF
triadic
#A351DC #DCA351 #51DCA3
tetradic
#A351DC #DC5E51 #8ADC51 #51CFDC
square
#A351DC #DC5E51 #8ADC51 #51CFDC
split-complementary
#A351DC #CFDC51 #51DC5E
monochromatic
#641E95 #8628C8 #A351DC #BE84E6 #D9B7F0

Accessibility & contrast

On white

4.40
#A351DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A351DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A351DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A351DC#FFFFFF#000000##000000
##A351DC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#9B6D8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a351dc;
/* rgb */ color: rgb(163, 81, 220);
/* oklch */ color: oklch(59.8% 0.208 308.5);
Tailwind
colors: {
  custom: {
    50: '#c287e8',
    500: '#a351dc',
    950: '#000000',
  },
}
SCSS
$custom: #a351dc;
$custom-light: #c287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a351dc",
  "rgb": {
    "r": 163,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 275.396,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.20838,
    "h": 308.5
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#A351DC
secondary
#BFE0A9
accent
#E93E85
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A351DC

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

Preview Lab → · Contrast checker → · Palette generator →

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