#A173F9#A173F9

#A173F9 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.193 H 296.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A173F9
RGBrgb(161, 115, 249)
HSLhsl(261, 92%, 71%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(35.3%, 53.8%, 0%, 2.4%)
CIE-LABlab(58.67, 46.22, -60.84)
CIE-LCHlch(58.67, 76.41, 307.22°)
OKLaboklab(66.3% 0.0864 -0.1723)
OKLCHoklch(66.3% 0.193 296.6)
XYZxyz(37.9232, 26.6775, 92.7554)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173F9 #CBF973
analogous
#7388F9 #A173F9 #E473F9
triadic
#A173F9 #F9A173 #73F9A1
tetradic
#A173F9 #F97388 #CBF973 #73F9E4
square
#A173F9 #F97388 #CBF973 #73F9E4
split-complementary
#A173F9 #F9E473 #88F973
monochromatic
#560AE8 #7A38F6 #A173F9 #C8AEFC #EBE2FE

Accessibility & contrast

On white

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

On black

6.34
#A173F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173F9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173F9#FFFFFF#000000##000000
##A173F91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#478BF6
Tritanopia (blue-blind)
#8D8EAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a173f9;
/* rgb */ color: rgb(161, 115, 249);
/* oklch */ color: oklch(66.3% 0.193 296.6);
Tailwind
colors: {
  custom: {
    50: '#c19cfc',
    500: '#a173f9',
    950: '#000000',
  },
}
SCSS
$custom: #a173f9;
$custom-light: #c19cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a173f9",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 249
  },
  "hsl": {
    "h": 260.597,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66303,
    "c": 0.1928,
    "h": 296.6
  },
  "luminance": 0.26678
}

Semantic roles & 50–950 ramp

primary
#A173F9
secondary
#E9F5D2
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173F9

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

Preview Lab → · Contrast checker → · Palette generator →

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