#A173FD#A173FD

#A173FD is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.198 H 296.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A173FD
RGBrgb(161, 115, 253)
HSLhsl(260, 97%, 72%)
HSVhsv(260, 55%, 99%)
CMYKcmyk(36.4%, 54.5%, 0%, 0.8%)
CIE-LABlab(58.91, 47.24, -62.68)
CIE-LCHlch(58.91, 78.48, 307.01°)
OKLaboklab(66.55% 0.0865 -0.1777)
OKLCHoklch(66.55% 0.198 296)
XYZxyz(38.5538, 26.9297, 96.0762)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173FD #CFFD73
analogous
#738AFD #A173FD #E673FD
triadic
#A173FD #FDA173 #73FDA1
tetradic
#A173FD #FD738A #CFFD73 #73FDE6
square
#A173FD #FD738A #CFFD73 #73FDE6
split-complementary
#A173FD #FDE673 #8AFD73
monochromatic
#5303F2 #7837FC #A173FD #CAAFFE #EBE1FF

Accessibility & contrast

On white

3.29
#A173FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A173FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173FD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173FD#FFFFFF#000000##000000
##A173FD1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#8B8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a173fd;
/* rgb */ color: rgb(161, 115, 253);
/* oklch */ color: oklch(66.6% 0.198 296.0);
Tailwind
colors: {
  custom: {
    50: '#c19dff',
    500: '#a173fd',
    950: '#000000',
  },
}
SCSS
$custom: #a173fd;
$custom-light: #c19dff;
$custom-dark: #000000;
JSON
{
  "hex": "#a173fd",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 260,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66551,
    "c": 0.19766,
    "h": 296
  },
  "luminance": 0.2693
}

Semantic roles & 50–950 ramp

primary
#A173FD
secondary
#EBF7D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A173FD

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

Preview Lab → · Contrast checker → · Palette generator →

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