#A173CA#A173CA

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

Color values

HEX#A173CA
RGBrgb(161, 115, 202)
HSLhsl(272, 45%, 62%)
HSVhsv(272, 43%, 79%)
CMYKcmyk(20.3%, 43.1%, 0%, 20.8%)
CIE-LABlab(56.19, 34.80, -38.46)
CIE-LCHlch(56.19, 51.86, 312.14°)
OKLaboklab(63.65% 0.0817 -0.107)
OKLCHoklch(63.65% 0.135 307.3)
XYZxyz(31.4873, 24.1031, 58.8593)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173CA #9CCA73
analogous
#7673CA #A173CA #CA73C8
triadic
#A173CA #CAA173 #73CAA1
tetradic
#A173CA #CA7673 #9CCA73 #73C8CA
square
#A173CA #CA7673 #9CCA73 #73C8CA
split-complementary
#A173CA #C8CA73 #73CA76
monochromatic
#64358D #8347B9 #A173CA #BF9FDB #DDCCEC

Accessibility & contrast

On white

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

On black

5.82
#A173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173CA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173CA#FFFFFF#000000##000000
##A173CA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#9B8195
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173ca;
/* rgb */ color: rgb(161, 115, 202);
/* oklch */ color: oklch(63.6% 0.135 307.3);
Tailwind
colors: {
  custom: {
    50: '#be9cda',
    500: '#a173ca',
    950: '#000000',
  },
}
SCSS
$custom: #a173ca;
$custom-light: #be9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#a173ca",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 271.724,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.13461,
    "h": 307.3
  },
  "luminance": 0.24103
}

Semantic roles & 50–950 ramp

primary
#A173CA
secondary
#CBDCBC
accent
#B82D6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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