#A173CF#A173CF

#A173CF is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.9% C 0.141 H 305.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A173CF
RGBrgb(161, 115, 207)
HSLhsl(270, 49%, 63%)
HSVhsv(270, 44%, 81%)
CMYKcmyk(22.2%, 44.4%, 0%, 18.8%)
CIE-LABlab(56.43, 35.96, -40.92)
CIE-LCHlch(56.43, 54.47, 311.31°)
OKLaboklab(63.9% 0.0825 -0.1141)
OKLCHoklch(63.9% 0.141 305.9)
XYZxyz(32.0889, 24.3437, 62.0277)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173CF #A1CF73
analogous
#7373CF #A173CF #CF73CF
triadic
#A173CF #CFA173 #73CFA1
tetradic
#A173CF #CF7373 #A1CF73 #73CFCF
square
#A173CF #CF7373 #A1CF73 #73CFCF
split-complementary
#A173CF #CFCF73 #73CF73
monochromatic
#643395 #8245BF #A173CF #C0A1DF #DECEEE

Accessibility & contrast

On white

3.58
#A173CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A173CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173CF#FFFFFF#000000##000000
##A173CF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#6788CD
Tritanopia (blue-blind)
#9A8297
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173cf;
/* rgb */ color: rgb(161, 115, 207);
/* oklch */ color: oklch(63.9% 0.141 305.9);
Tailwind
colors: {
  custom: {
    50: '#be9cde',
    500: '#a173cf',
    950: '#000000',
  },
}
SCSS
$custom: #a173cf;
$custom-light: #be9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a173cf",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.14082,
    "h": 305.9
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#A173CF
secondary
#CFDFBE
accent
#BC2973
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173CF

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

Preview Lab → · Contrast checker → · Palette generator →

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