#A173EA#A173EA

#A173EA is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.4% C 0.174 H 299.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A173EA
RGBrgb(161, 115, 234)
HSLhsl(263, 74%, 68%)
HSVhsv(263, 51%, 92%)
CMYKcmyk(31.2%, 50.9%, 0%, 8.2%)
CIE-LABlab(57.83, 42.46, -53.87)
CIE-LCHlch(57.83, 68.59, 308.24°)
OKLaboklab(65.4% 0.0856 -0.1519)
OKLCHoklch(65.4% 0.174 299.4)
XYZxyz(35.6764, 25.7788, 80.9222)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173EA #BCEA73
analogous
#7380EA #A173EA #DC73EA
triadic
#A173EA #EAA173 #73EAA1
tetradic
#A173EA #EA7380 #BCEA73 #73EADC
square
#A173EA #EA7380 #BCEA73 #73EADC
split-complementary
#A173EA #EADC73 #80EA73
monochromatic
#5E1EC5 #7D3EE2 #A173EA #C5A8F2 #E8DDFA

Accessibility & contrast

On white

3.41
#A173EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A173EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173EA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173EA#FFFFFF#000000##000000
##A173EA1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#928AA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a173ea;
/* rgb */ color: rgb(161, 115, 234);
/* oklch */ color: oklch(65.4% 0.174 299.4);
Tailwind
colors: {
  custom: {
    50: '#c09cf1',
    500: '#a173ea',
    950: '#000000',
  },
}
SCSS
$custom: #a173ea;
$custom-light: #c09cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a173ea",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 263.193,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.654,
    "c": 0.17437,
    "h": 299.4
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

primary
#A173EA
secondary
#E0EECA
accent
#D60F89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173EA

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

Preview Lab → · Contrast checker → · Palette generator →

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