#A173DC#A173DC

#A173DC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.6% C 0.157 H 302.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A173DC
RGBrgb(161, 115, 220)
HSLhsl(266, 60%, 66%)
HSVhsv(266, 48%, 86%)
CMYKcmyk(26.8%, 47.7%, 0%, 13.7%)
CIE-LABlab(57.08, 39.04, -47.22)
CIE-LCHlch(57.08, 61.27, 309.58°)
OKLaboklab(64.6% 0.0843 -0.1325)
OKLCHoklch(64.6% 0.157 302.5)
XYZxyz(33.7441, 25.0058, 70.7451)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173DC #AEDC73
analogous
#7379DC #A173DC #D673DC
triadic
#A173DC #DCA173 #73DCA1
tetradic
#A173DC #DC7379 #AEDC73 #73DCD6
square
#A173DC #DC7379 #AEDC73 #73DCD6
split-complementary
#A173DC #DCD673 #79DC73
monochromatic
#622BAA #8042D0 #A173DC #C2A4E8 #E3D5F4

Accessibility & contrast

On white

3.50
#A173DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A173DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173DC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173DC#FFFFFF#000000##000000
##A173DC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#5F89D9
Tritanopia (blue-blind)
#96869D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a173dc;
/* rgb */ color: rgb(161, 115, 220);
/* oklch */ color: oklch(64.6% 0.157 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf9ce7',
    500: '#a173dc',
    950: '#000000',
  },
}
SCSS
$custom: #a173dc;
$custom-light: #bf9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a173dc",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 266.286,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64603,
    "c": 0.157,
    "h": 302.5
  },
  "luminance": 0.25006
}

Semantic roles & 50–950 ramp

primary
#A173DC
secondary
#D8E7C4
accent
#C81E7D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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