#A173FA#A173FA

#A173FA is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.194 H 296.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A173FA
RGBrgb(161, 115, 250)
HSLhsl(260, 93%, 72%)
HSVhsv(260, 54%, 98%)
CMYKcmyk(35.6%, 54%, 0%, 2%)
CIE-LABlab(58.73, 46.47, -61.30)
CIE-LCHlch(58.73, 76.93, 307.17°)
OKLaboklab(66.36% 0.0864 -0.1737)
OKLCHoklch(66.36% 0.194 296.5)
XYZxyz(38.0796, 26.7401, 93.5790)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173FA #CCFA73
analogous
#7389FA #A173FA #E473FA
triadic
#A173FA #FAA173 #73FAA1
tetradic
#A173FA #FA7389 #CCFA73 #73FAE4
square
#A173FA #FA7389 #CCFA73 #73FAE4
split-complementary
#A173FA #FAE473 #89FA73
monochromatic
#5508EA #7938F8 #A173FA #C9AEFC #EBE1FE

Accessibility & contrast

On white

3.31
#A173FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A173FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173FA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173FA#FFFFFF#000000##000000
##A173FA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#8C8FAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a173fa;
/* rgb */ color: rgb(161, 115, 250);
/* oklch */ color: oklch(66.4% 0.194 296.5);
Tailwind
colors: {
  custom: {
    50: '#c19cfd',
    500: '#a173fa',
    950: '#000000',
  },
}
SCSS
$custom: #a173fa;
$custom-light: #c19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a173fa",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 260.444,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66364,
    "c": 0.19401,
    "h": 296.5
  },
  "luminance": 0.26741
}

Semantic roles & 50–950 ramp

primary
#A173FA
secondary
#EAF6D3
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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