#A173F7#A173F7

#A173F7 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.190 H 297.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A173F7
RGBrgb(161, 115, 247)
HSLhsl(261, 89%, 71%)
HSVhsv(261, 53%, 97%)
CMYKcmyk(34.8%, 53.4%, 0%, 3.1%)
CIE-LABlab(58.56, 45.71, -59.92)
CIE-LCHlch(58.56, 75.37, 307.34°)
OKLaboklab(66.18% 0.0863 -0.1696)
OKLCHoklch(66.18% 0.19 297)
XYZxyz(37.6130, 26.5534, 91.1213)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173F7 #C9F773
analogous
#7387F7 #A173F7 #E373F7
triadic
#A173F7 #F7A173 #73F7A1
tetradic
#A173F7 #F77387 #C9F773 #73F7E3
square
#A173F7 #F77387 #C9F773 #73F7E3
split-complementary
#A173F7 #F7E373 #87F773
monochromatic
#570DE3 #7A39F4 #A173F7 #C8ADFA #ECE2FD

Accessibility & contrast

On white

3.33
#A173F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A173F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173F7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173F7#FFFFFF#000000##000000
##A173F71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#8D8EAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a173f7;
/* rgb */ color: rgb(161, 115, 247);
/* oklch */ color: oklch(66.2% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#c19cfa',
    500: '#a173f7',
    950: '#000000',
  },
}
SCSS
$custom: #a173f7;
$custom-light: #c19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a173f7",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 247
  },
  "hsl": {
    "h": 260.909,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.19035,
    "h": 297
  },
  "luminance": 0.26554
}

Semantic roles & 50–950 ramp

primary
#A173F7
secondary
#E8F4D1
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173F7

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

Preview Lab → · Contrast checker → · Palette generator →

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