#A17BC2#A17BC2

#A17BC2 is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.7% C 0.111 H 308.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A17BC2
RGBrgb(161, 123, 194)
HSLhsl(272, 37%, 62%)
HSVhsv(272, 37%, 76%)
CMYKcmyk(17%, 36.6%, 0%, 23.9%)
CIE-LABlab(57.69, 28.44, -31.56)
CIE-LCHlch(57.69, 42.48, 312.02°)
OKLaboklab(64.66% 0.0684 -0.0872)
OKLCHoklch(64.66% 0.111 308.1)
XYZxyz(31.5167, 25.6383, 54.3168)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17BC2 #9CC27B
analogous
#7E7BC2 #A17BC2 #C27BC0
triadic
#A17BC2 #C2A17B #7BC2A1
tetradic
#A17BC2 #C27E7B #9CC27B #7BC0C2
square
#A17BC2 #C27E7B #9CC27B #7BC0C2
split-complementary
#A17BC2 #C0C27B #7BC27E
monochromatic
#643E85 #8351AF #A17BC2 #BFA5D5 #DDCFE9

Accessibility & contrast

On white

3.43
#A17BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A17BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17BC2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17BC2#FFFFFF#000000##000000
##A17BC21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#9D8595
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a17bc2;
/* rgb */ color: rgb(161, 123, 194);
/* oklch */ color: oklch(64.7% 0.111 308.1);
Tailwind
colors: {
  custom: {
    50: '#bea1d4',
    500: '#a17bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a17bc2;
$custom-light: #bea1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a17bc2",
  "rgb": {
    "r": 161,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 272.113,
    "s": 36.788,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64661,
    "c": 0.11083,
    "h": 308.1
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#A17BC2
secondary
#CBD9BF
accent
#B0366E
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120F14
muted
#817E83

Preview Lab

Preview with #A17BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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