#A173BC#A173BC

#A173BC is a light, moderate violet. Relative luminance 0.235; OKLCH L 63.0% C 0.117 H 312.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A173BC
RGBrgb(161, 115, 188)
HSLhsl(278, 35%, 59%)
HSVhsv(278, 39%, 74%)
CMYKcmyk(14.4%, 38.8%, 0%, 26.3%)
CIE-LABlab(55.55, 31.65, -31.47)
CIE-LCHlch(55.55, 44.63, 315.17°)
OKLaboklab(62.96% 0.0789 -0.0869)
OKLCHoklch(62.96% 0.117 312.3)
XYZxyz(29.9042, 23.4699, 50.5220)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173BC #8EBC73
analogous
#7D73BC #A173BC #BC73B3
triadic
#A173BC #BCA173 #73BCA1
tetradic
#A173BC #BC7D73 #8EBC73 #73B3BC
square
#A173BC #BC7D73 #8EBC73 #73B3BC
split-complementary
#A173BC #B3BC73 #73BC7D
monochromatic
#633A7A #844EA4 #A173BC #BD9CD0 #D9C6E4

Accessibility & contrast

On white

3.69
#A173BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A173BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173BC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173BC#FFFFFF#000000##000000
##A173BC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#9F7D8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a173bc;
/* rgb */ color: rgb(161, 115, 188);
/* oklch */ color: oklch(63.0% 0.117 312.3);
Tailwind
colors: {
  custom: {
    50: '#be9cd0',
    500: '#a173bc',
    950: '#000000',
  },
}
SCSS
$custom: #a173bc;
$custom-light: #be9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a173bc",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 277.808,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62956,
    "c": 0.11739,
    "h": 312.3
  },
  "luminance": 0.23469
}

Semantic roles & 50–950 ramp

primary
#A173BC
secondary
#C2D4B7
accent
#CB5C85
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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