#A173CD#A173CD

#A173CD is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.8% C 0.138 H 306.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A173CD
RGBrgb(161, 115, 205)
HSLhsl(271, 47%, 63%)
HSVhsv(271, 44%, 80%)
CMYKcmyk(21.5%, 43.9%, 0%, 19.6%)
CIE-LABlab(56.33, 35.49, -39.93)
CIE-LCHlch(56.33, 53.43, 311.63°)
OKLaboklab(63.8% 0.0822 -0.1113)
OKLCHoklch(63.8% 0.138 306.4)
XYZxyz(31.8459, 24.2466, 60.7481)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173CD #9FCD73
analogous
#7473CD #A173CD #CD73CC
triadic
#A173CD #CDA173 #73CDA1
tetradic
#A173CD #CD7473 #9FCD73 #73CCCD
square
#A173CD #CD7473 #9FCD73 #73CCCD
split-complementary
#A173CD #CCCD73 #73CD74
monochromatic
#643492 #8346BD #A173CD #BFA0DD #DECDED

Accessibility & contrast

On white

3.59
#A173CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A173CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173CD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173CD#FFFFFF#000000##000000
##A173CD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85D0
Deuteranopia (green-blind)
#6887CB
Tritanopia (blue-blind)
#9A8296
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173cd;
/* rgb */ color: rgb(161, 115, 205);
/* oklch */ color: oklch(63.8% 0.138 306.4);
Tailwind
colors: {
  custom: {
    50: '#be9cdc',
    500: '#a173cd',
    950: '#000000',
  },
}
SCSS
$custom: #a173cd;
$custom-light: #be9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a173cd",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 270.667,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.638,
    "c": 0.13833,
    "h": 306.4
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#A173CD
secondary
#CEDEBE
accent
#BB2B71
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173CD

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

Preview Lab → · Contrast checker → · Palette generator →

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