#A173DF#A173DF

#A173DF is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.8% C 0.161 H 301.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A173DF
RGBrgb(161, 115, 223)
HSLhsl(266, 63%, 66%)
HSVhsv(266, 48%, 87%)
CMYKcmyk(27.8%, 48.4%, 0%, 12.5%)
CIE-LABlab(57.24, 39.76, -48.66)
CIE-LCHlch(57.24, 62.84, 309.25°)
OKLaboklab(64.77% 0.0846 -0.1367)
OKLCHoklch(64.77% 0.161 301.7)
XYZxyz(34.1449, 25.1662, 72.8564)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173DF #B1DF73
analogous
#737BDF #A173DF #D773DF
triadic
#A173DF #DFA173 #73DFA1
tetradic
#A173DF #DF737B #B1DF73 #73DFD7
square
#A173DF #DF737B #B1DF73 #73DFD7
split-complementary
#A173DF #DFD773 #7BDF73
monochromatic
#6228AF #8041D4 #A173DF #C2A5EA #E4D7F6

Accessibility & contrast

On white

3.48
#A173DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A173DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173DF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173DF#FFFFFF#000000##000000
##A173DF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#5D89DC
Tritanopia (blue-blind)
#95879F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a173df;
/* rgb */ color: rgb(161, 115, 223);
/* oklch */ color: oklch(64.8% 0.161 301.7);
Tailwind
colors: {
  custom: {
    50: '#bf9ce9',
    500: '#a173df',
    950: '#000000',
  },
}
SCSS
$custom: #a173df;
$custom-light: #bf9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#a173df",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 265.556,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6477,
    "c": 0.16073,
    "h": 301.7
  },
  "luminance": 0.25166
}

Semantic roles & 50–950 ramp

primary
#A173DF
secondary
#DAE9C5
accent
#CB1B80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A173DF

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

Preview Lab → · Contrast checker → · Palette generator →

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