#A173E5#A173E5

#A173E5 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.1% C 0.168 H 300.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A173E5
RGBrgb(161, 115, 229)
HSLhsl(264, 69%, 67%)
HSVhsv(264, 50%, 90%)
CMYKcmyk(29.7%, 49.8%, 0%, 10.2%)
CIE-LABlab(57.56, 41.23, -51.52)
CIE-LCHlch(57.56, 65.98, 308.67°)
OKLaboklab(65.11% 0.0852 -0.145)
OKLCHoklch(65.11% 0.168 300.4)
XYZxyz(34.9682, 25.4955, 77.1924)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173E5 #B7E573
analogous
#737EE5 #A173E5 #DA73E5
triadic
#A173E5 #E5A173 #73E5A1
tetradic
#A173E5 #E5737E #B7E573 #73E5DA
square
#A173E5 #E5737E #B7E573 #73E5DA
split-complementary
#A173E5 #E5DA73 #7EE573
monochromatic
#6023BB #7E3FDB #A173E5 #C4A7EF #E6DAF8

Accessibility & contrast

On white

3.44
#A173E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A173E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173E5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173E5#FFFFFF#000000##000000
##A173E51.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#598AE2
Tritanopia (blue-blind)
#9488A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a173e5;
/* rgb */ color: rgb(161, 115, 229);
/* oklch */ color: oklch(65.1% 0.168 300.4);
Tailwind
colors: {
  custom: {
    50: '#c09cee',
    500: '#a173e5',
    950: '#000000',
  },
}
SCSS
$custom: #a173e5;
$custom-light: #c09cee;
$custom-dark: #000000;
JSON
{
  "hex": "#a173e5",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 229
  },
  "hsl": {
    "h": 264.211,
    "s": 68.675,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.16819,
    "h": 300.4
  },
  "luminance": 0.25496
}

Semantic roles & 50–950 ramp

primary
#A173E5
secondary
#DDECC8
accent
#D11585
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A173E5

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

Preview Lab → · Contrast checker → · Palette generator →

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