#A173DA#A173DA

#A173DA is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.155 H 302.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A173DA
RGBrgb(161, 115, 218)
HSLhsl(267, 58%, 65%)
HSVhsv(267, 47%, 85%)
CMYKcmyk(26.1%, 47.2%, 0%, 14.5%)
CIE-LABlab(56.98, 38.56, -46.26)
CIE-LCHlch(56.98, 60.22, 309.81°)
OKLaboklab(64.49% 0.084 -0.1297)
OKLCHoklch(64.49% 0.155 302.9)
XYZxyz(33.4808, 24.9005, 69.3585)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173DA #ACDA73
analogous
#7378DA #A173DA #D473DA
triadic
#A173DA #DAA173 #73DAA1
tetradic
#A173DA #DA7378 #ACDA73 #73DAD4
square
#A173DA #DA7378 #ACDA73 #73DAD4
split-complementary
#A173DA #DAD473 #78DA73
monochromatic
#632CA7 #8043CD #A173DA #C2A3E7 #E2D4F4

Accessibility & contrast

On white

3.51
#A173DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A173DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173DA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173DA#FFFFFF#000000##000000
##A173DA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#6189D7
Tritanopia (blue-blind)
#97859C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a173da;
/* rgb */ color: rgb(161, 115, 218);
/* oklch */ color: oklch(64.5% 0.155 302.9);
Tailwind
colors: {
  custom: {
    50: '#bf9ce6',
    500: '#a173da',
    950: '#000000',
  },
}
SCSS
$custom: #a173da;
$custom-light: #bf9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#a173da",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 266.796,
    "s": 58.192,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.15451,
    "h": 302.9
  },
  "luminance": 0.249
}

Semantic roles & 50–950 ramp

primary
#A173DA
secondary
#D6E6C3
accent
#C6207C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A173DA

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

Preview Lab → · Contrast checker → · Palette generator →

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