#A173CB#A173CB

#A173CB is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.136 H 307.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A173CB
RGBrgb(161, 115, 203)
HSLhsl(271, 46%, 62%)
HSVhsv(271, 43%, 80%)
CMYKcmyk(20.7%, 43.3%, 0%, 20.4%)
CIE-LABlab(56.24, 35.03, -38.95)
CIE-LCHlch(56.24, 52.38, 311.97°)
OKLaboklab(63.7% 0.0818 -0.1084)
OKLCHoklch(63.7% 0.136 307)
XYZxyz(31.6060, 24.1506, 59.4848)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173CB #9DCB73
analogous
#7573CB #A173CB #CB73C9
triadic
#A173CB #CBA173 #73CBA1
tetradic
#A173CB #CB7573 #9DCB73 #73C9CB
square
#A173CB #CB7573 #9DCB73 #73C9CB
split-complementary
#A173CB #C9CB73 #73CB75
monochromatic
#64358F #8346BA #A173CB #BFA0DC #DDCCEC

Accessibility & contrast

On white

3.60
#A173CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A173CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173CB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173CB#FFFFFF#000000##000000
##A173CB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#9B8195
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a173cb;
/* rgb */ color: rgb(161, 115, 203);
/* oklch */ color: oklch(63.7% 0.136 307.0);
Tailwind
colors: {
  custom: {
    50: '#be9cdb',
    500: '#a173cb',
    950: '#000000',
  },
}
SCSS
$custom: #a173cb;
$custom-light: #be9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a173cb",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 271.364,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63697,
    "c": 0.13585,
    "h": 307
  },
  "luminance": 0.2415
}

Semantic roles & 50–950 ramp

primary
#A173CB
secondary
#CCDDBD
accent
#B92C70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A173CB

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

Preview Lab → · Contrast checker → · Palette generator →

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