#A17FC9#A17FC9

#A17FC9 is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.7% C 0.113 H 304.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A17FC9
RGBrgb(161, 127, 201)
HSLhsl(268, 41%, 64%)
HSVhsv(268, 37%, 79%)
CMYKcmyk(19.9%, 36.8%, 0%, 21.2%)
CIE-LABlab(58.95, 27.75, -33.57)
CIE-LCHlch(58.95, 43.56, 309.58°)
OKLaboklab(65.72% 0.0641 -0.093)
OKLCHoklch(65.72% 0.113 304.6)
XYZxyz(32.8278, 26.9730, 58.7239)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FC9 #A7C97F
analogous
#7F82C9 #A17FC9 #C67FC9
triadic
#A17FC9 #C9A17F #7FC9A1
tetradic
#A17FC9 #C97F82 #A7C97F #7FC9C6
square
#A17FC9 #C97F82 #A7C97F #7FC9C6
split-complementary
#A17FC9 #C9C67F #82C97F
monochromatic
#633D91 #8154B7 #A17FC9 #C1AADB #E0D5ED

Accessibility & contrast

On white

3.28
#A17FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A17FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FC9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FC9#FFFFFF#000000##000000
##A17FC91.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCC
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#9B8A9B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a17fc9;
/* rgb */ color: rgb(161, 127, 201);
/* oklch */ color: oklch(65.7% 0.113 304.6);
Tailwind
colors: {
  custom: {
    50: '#bea4d9',
    500: '#a17fc9',
    950: '#000000',
  },
}
SCSS
$custom: #a17fc9;
$custom-light: #bea4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fc9",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 267.568,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.11296,
    "h": 304.6
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#A17FC9
secondary
#D3DFC5
accent
#B43278
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A17FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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