#A173C7#A173C7

#A173C7 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.5% C 0.131 H 308.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A173C7
RGBrgb(161, 115, 199)
HSLhsl(273, 43%, 62%)
HSVhsv(273, 42%, 78%)
CMYKcmyk(19.1%, 42.2%, 0%, 22%)
CIE-LABlab(56.05, 34.11, -36.97)
CIE-LCHlch(56.05, 50.30, 312.70°)
OKLaboklab(63.49% 0.0811 -0.1027)
OKLCHoklch(63.49% 0.131 308.3)
XYZxyz(31.1355, 23.9624, 57.0067)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173C7 #99C773
analogous
#7773C7 #A173C7 #C773C3
triadic
#A173C7 #C7A173 #73C7A1
tetradic
#A173C7 #C77773 #99C773 #73C3C7
square
#A173C7 #C77773 #99C773 #73C3C7
split-complementary
#A173C7 #C3C773 #73C777
monochromatic
#643789 #8448B5 #A173C7 #BE9FD8 #DCCAEA

Accessibility & contrast

On white

3.63
#A173C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A173C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173C7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173C7#FFFFFF#000000##000000
##A173C71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#9C8093
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a173c7;
/* rgb */ color: rgb(161, 115, 199);
/* oklch */ color: oklch(63.5% 0.131 308.3);
Tailwind
colors: {
  custom: {
    50: '#be9cd8',
    500: '#a173c7',
    950: '#000000',
  },
}
SCSS
$custom: #a173c7;
$custom-light: #be9cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a173c7",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 199
  },
  "hsl": {
    "h": 272.857,
    "s": 42.857,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.13089,
    "h": 308.3
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#A173C7
secondary
#C9DBBB
accent
#B6306C
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A173C7

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

Preview Lab → · Contrast checker → · Palette generator →

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