#A173EE#A173EE

#A173EE is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.179 H 298.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A173EE
RGBrgb(161, 115, 238)
HSLhsl(262, 78%, 69%)
HSVhsv(262, 52%, 93%)
CMYKcmyk(32.4%, 51.7%, 0%, 6.7%)
CIE-LABlab(58.05, 43.45, -55.75)
CIE-LCHlch(58.05, 70.68, 307.93°)
OKLaboklab(65.64% 0.0859 -0.1574)
OKLCHoklch(65.64% 0.179 298.6)
XYZxyz(36.2575, 26.0112, 83.9828)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173EE #C0EE73
analogous
#7383EE #A173EE #DF73EE
triadic
#A173EE #EEA173 #73EEA1
tetradic
#A173EE #EE7383 #C0EE73 #73EEDF
square
#A173EE #EE7383 #C0EE73 #73EEDF
split-complementary
#A173EE #EEDF73 #83EE73
monochromatic
#5D19CE #7C3CE7 #A173EE #C6AAF5 #EAE0FB

Accessibility & contrast

On white

3.39
#A173EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A173EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173EE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173EE#FFFFFF#000000##000000
##A173EE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#528AEB
Tritanopia (blue-blind)
#918BA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a173ee;
/* rgb */ color: rgb(161, 115, 238);
/* oklch */ color: oklch(65.6% 0.179 298.6);
Tailwind
colors: {
  custom: {
    50: '#c09cf4',
    500: '#a173ee',
    950: '#000000',
  },
}
SCSS
$custom: #a173ee;
$custom-light: #c09cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a173ee",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 262.439,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.17931,
    "h": 298.6
  },
  "luminance": 0.26012
}

Semantic roles & 50–950 ramp

primary
#A173EE
secondary
#E3F0CD
accent
#DB0B8D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173EE

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

Preview Lab → · Contrast checker → · Palette generator →

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