#A17FCD#A17FCD

#A17FCD is a light, moderate violet. Relative luminance 0.272; OKLCH L 65.9% C 0.118 H 303.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A17FCD
RGBrgb(161, 127, 205)
HSLhsl(266, 44%, 65%)
HSVhsv(266, 38%, 80%)
CMYKcmyk(21.5%, 38%, 0%, 19.6%)
CIE-LABlab(59.13, 28.68, -35.56)
CIE-LCHlch(59.13, 45.68, 308.89°)
OKLaboklab(65.91% 0.065 -0.0987)
OKLCHoklch(65.91% 0.118 303.4)
XYZxyz(33.3044, 27.1636, 61.2343)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FCD #ABCD7F
analogous
#7F84CD #A17FCD #C87FCD
triadic
#A17FCD #CDA17F #7FCDA1
tetradic
#A17FCD #CD7F84 #ABCD7F #7FCDC8
square
#A17FCD #CD7F84 #ABCD7F #7FCDC8
split-complementary
#A17FCD #CDC87F #84CD7F
monochromatic
#633B97 #8153BC #A17FCD #C1ABDE #E2D7EF

Accessibility & contrast

On white

3.26
#A17FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A17FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FCD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FCD#FFFFFF#000000##000000
##A17FCD1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#9A8B9C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a17fcd;
/* rgb */ color: rgb(161, 127, 205);
/* oklch */ color: oklch(65.9% 0.118 303.4);
Tailwind
colors: {
  custom: {
    50: '#bea4dc',
    500: '#a17fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a17fcd;
$custom-light: #bea4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fcd",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 266.154,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65907,
    "c": 0.11818,
    "h": 303.4
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#A17FCD
secondary
#D6E1C7
accent
#B72F7B
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A17FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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