#A173CC#A173CC

#A173CC is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.7% C 0.137 H 306.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A173CC
RGBrgb(161, 115, 204)
HSLhsl(271, 47%, 63%)
HSVhsv(271, 44%, 80%)
CMYKcmyk(21.1%, 43.6%, 0%, 20%)
CIE-LABlab(56.29, 35.26, -39.44)
CIE-LCHlch(56.29, 52.91, 311.80°)
OKLaboklab(63.75% 0.082 -0.1099)
OKLCHoklch(63.75% 0.137 306.7)
XYZxyz(31.7256, 24.1984, 60.1145)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173CC #9ECC73
analogous
#7473CC #A173CC #CC73CB
triadic
#A173CC #CCA173 #73CCA1
tetradic
#A173CC #CC7473 #9ECC73 #73CBCC
square
#A173CC #CC7473 #9ECC73 #73CBCC
split-complementary
#A173CC #CBCC73 #73CC74
monochromatic
#643490 #8346BC #A173CC #BFA0DC #DDCDED

Accessibility & contrast

On white

3.60
#A173CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A173CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173CC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173CC#FFFFFF#000000##000000
##A173CC1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#6987CA
Tritanopia (blue-blind)
#9B8196
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173cc;
/* rgb */ color: rgb(161, 115, 204);
/* oklch */ color: oklch(63.7% 0.137 306.7);
Tailwind
colors: {
  custom: {
    50: '#be9cdc',
    500: '#a173cc',
    950: '#000000',
  },
}
SCSS
$custom: #a173cc;
$custom-light: #be9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a173cc",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 271.011,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63749,
    "c": 0.1371,
    "h": 306.7
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#A173CC
secondary
#CDDEBD
accent
#BA2C70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173CC

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

Preview Lab → · Contrast checker → · Palette generator →

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