#A173BD#A173BD

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

Color values

HEX#A173BD
RGBrgb(161, 115, 189)
HSLhsl(277, 36%, 60%)
HSVhsv(277, 39%, 74%)
CMYKcmyk(14.8%, 39.2%, 0%, 25.9%)
CIE-LABlab(55.60, 31.87, -31.97)
CIE-LCHlch(55.60, 45.14, 314.91°)
OKLaboklab(63% 0.0792 -0.0883)
OKLCHoklch(63% 0.119 311.9)
XYZxyz(30.0124, 23.5132, 51.0917)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173BD #8FBD73
analogous
#7C73BD #A173BD #BD73B4
triadic
#A173BD #BDA173 #73BDA1
tetradic
#A173BD #BD7C73 #8FBD73 #73B4BD
square
#A173BD #BD7C73 #8FBD73 #73B4BD
split-complementary
#A173BD #B4BD73 #73BD7C
monochromatic
#633A7B #844EA5 #A173BD #BD9DD1 #D9C6E4

Accessibility & contrast

On white

3.68
#A173BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A173BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173BD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173BD#FFFFFF#000000##000000
##A173BD1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C0
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#9E7D8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a173bd;
/* rgb */ color: rgb(161, 115, 189);
/* oklch */ color: oklch(63.0% 0.119 311.9);
Tailwind
colors: {
  custom: {
    50: '#be9cd1',
    500: '#a173bd',
    950: '#000000',
  },
}
SCSS
$custom: #a173bd;
$custom-light: #be9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a173bd",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 277.297,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.1186,
    "h": 311.9
  },
  "luminance": 0.23513
}

Semantic roles & 50–950 ramp

primary
#A173BD
secondary
#C2D4B8
accent
#CC5C86
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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