#A17DC1#A17DC1

#A17DC1 is a light, moderate violet. Relative luminance 0.261; OKLCH L 65.0% C 0.106 H 307.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A17DC1
RGBrgb(161, 125, 193)
HSLhsl(272, 35%, 62%)
HSVhsv(272, 35%, 76%)
CMYKcmyk(16.6%, 35.2%, 0%, 24.3%)
CIE-LABlab(58.13, 27.07, -30.32)
CIE-LCHlch(58.13, 40.65, 311.76°)
OKLaboklab(64.98% 0.0652 -0.0836)
OKLCHoklch(64.98% 0.106 307.9)
XYZxyz(31.6554, 26.0948, 53.8109)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DC1 #9DC17D
analogous
#7F7DC1 #A17DC1 #C17DBF
triadic
#A17DC1 #C1A17D #7DC1A1
tetradic
#A17DC1 #C17F7D #9DC17D #7DBFC1
square
#A17DC1 #C17F7D #9DC17D #7DBFC1
split-complementary
#A17DC1 #BFC17D #7DC17F
monochromatic
#643F84 #8354AD #A17DC1 #BFA6D5 #DDD0E9

Accessibility & contrast

On white

3.38
#A17DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A17DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DC1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DC1#FFFFFF#000000##000000
##A17DC11.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#708AC4
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#9D8796
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a17dc1;
/* rgb */ color: rgb(161, 125, 193);
/* oklch */ color: oklch(65.0% 0.106 307.9);
Tailwind
colors: {
  custom: {
    50: '#bea3d4',
    500: '#a17dc1',
    950: '#000000',
  },
}
SCSS
$custom: #a17dc1;
$custom-light: #bea3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a17dc1",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 193
  },
  "hsl": {
    "h": 271.765,
    "s": 35.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.10606,
    "h": 307.9
  },
  "luminance": 0.26095
}

Semantic roles & 50–950 ramp

primary
#A17DC1
secondary
#CCD9C0
accent
#AE376F
background
#FBFAFD
surface
#F7F3FA
border
#D0CDD3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A17DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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