#A173F0#A173F0

#A173F0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.182 H 298.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A173F0
RGBrgb(161, 115, 240)
HSLhsl(262, 81%, 70%)
HSVhsv(262, 52%, 94%)
CMYKcmyk(32.9%, 52.1%, 0%, 5.9%)
CIE-LABlab(58.16, 43.95, -56.68)
CIE-LCHlch(58.16, 71.73, 307.79°)
OKLaboklab(65.76% 0.086 -0.1601)
OKLCHoklch(65.76% 0.182 298.2)
XYZxyz(36.5530, 26.1294, 85.5389)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173F0 #C2F073
analogous
#7384F0 #A173F0 #E073F0
triadic
#A173F0 #F0A173 #73F0A1
tetradic
#A173F0 #F07384 #C2F073 #73F0E0
square
#A173F0 #F07384 #C2F073 #73F0E0
split-complementary
#A173F0 #F0E073 #84F073
monochromatic
#5C17D2 #7C3CEA #A173F0 #C6AAF6 #EBE2FC

Accessibility & contrast

On white

3.37
#A173F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A173F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173F0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173F0#FFFFFF#000000##000000
##A173F01.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#908CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a173f0;
/* rgb */ color: rgb(161, 115, 240);
/* oklch */ color: oklch(65.8% 0.182 298.2);
Tailwind
colors: {
  custom: {
    50: '#c09cf5',
    500: '#a173f0',
    950: '#000000',
  },
}
SCSS
$custom: #a173f0;
$custom-light: #c09cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a173f0",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 262.08,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.18177,
    "h": 298.2
  },
  "luminance": 0.2613
}

Semantic roles & 50–950 ramp

primary
#A173F0
secondary
#E4F1CE
accent
#DD098F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173F0

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

Preview Lab → · Contrast checker → · Palette generator →

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