#A173F4#A173F4

#A173F4 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.187 H 297.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A173F4
RGBrgb(161, 115, 244)
HSLhsl(261, 85%, 70%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(34%, 52.9%, 0%, 4.3%)
CIE-LABlab(58.39, 44.96, -58.54)
CIE-LCHlch(58.39, 73.81, 307.52°)
OKLaboklab(66% 0.0862 -0.1656)
OKLCHoklch(66% 0.187 297.5)
XYZxyz(37.1538, 26.3697, 88.7028)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173F4 #C6F473
analogous
#7386F4 #A173F4 #E173F4
triadic
#A173F4 #F4A173 #73F4A1
tetradic
#A173F4 #F47386 #C6F473 #73F4E1
square
#A173F4 #F47386 #C6F473 #73F4E1
split-complementary
#A173F4 #F4E173 #86F473
monochromatic
#5911DB #7B3AF0 #A173F4 #C7ACF8 #ECE3FD

Accessibility & contrast

On white

3.35
#A173F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A173F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173F4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173F4#FFFFFF#000000##000000
##A173F41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF8
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#8E8DA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a173f4;
/* rgb */ color: rgb(161, 115, 244);
/* oklch */ color: oklch(66.0% 0.187 297.5);
Tailwind
colors: {
  custom: {
    50: '#c19cf8',
    500: '#a173f4',
    950: '#000000',
  },
}
SCSS
$custom: #a173f4;
$custom-light: #c19cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a173f4",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 244
  },
  "hsl": {
    "h": 261.395,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65997,
    "c": 0.18667,
    "h": 297.5
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#A173F4
secondary
#E6F3D0
accent
#E20493
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173F4

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

Preview Lab → · Contrast checker → · Palette generator →

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