#A173C9#A173C9

#A173C9 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.133 H 307.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A173C9
RGBrgb(161, 115, 201)
HSLhsl(272, 44%, 62%)
HSVhsv(272, 43%, 79%)
CMYKcmyk(19.9%, 42.8%, 0%, 21.2%)
CIE-LABlab(56.14, 34.57, -37.96)
CIE-LCHlch(56.14, 51.34, 312.32°)
OKLaboklab(63.6% 0.0815 -0.1056)
OKLCHoklch(63.6% 0.133 307.7)
XYZxyz(31.3692, 24.0559, 58.2377)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173C9 #9BC973
analogous
#7673C9 #A173C9 #C973C6
triadic
#A173C9 #C9A173 #73C9A1
tetradic
#A173C9 #C97673 #9BC973 #73C6C9
square
#A173C9 #C97673 #9BC973 #73C6C9
split-complementary
#A173C9 #C6C973 #73C976
monochromatic
#64368C #8347B8 #A173C9 #BF9FDA #DCCBEB

Accessibility & contrast

On white

3.61
#A173C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A173C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173C9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173C9#FFFFFF#000000##000000
##A173C91.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CC
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#9B8194
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173c9;
/* rgb */ color: rgb(161, 115, 201);
/* oklch */ color: oklch(63.6% 0.133 307.7);
Tailwind
colors: {
  custom: {
    50: '#be9cda',
    500: '#a173c9',
    950: '#000000',
  },
}
SCSS
$custom: #a173c9;
$custom-light: #be9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#a173c9",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 201
  },
  "hsl": {
    "h": 272.093,
    "s": 44.33,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63595,
    "c": 0.13337,
    "h": 307.7
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#A173C9
secondary
#CBDCBC
accent
#B72E6E
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173C9

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

Preview Lab → · Contrast checker → · Palette generator →

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