#A17CBC#A17CBC

#A17CBC is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.6% C 0.101 H 310.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A17CBC
RGBrgb(161, 124, 188)
HSLhsl(275, 32%, 61%)
HSVhsv(275, 34%, 74%)
CMYKcmyk(14.4%, 34%, 0%, 26.3%)
CIE-LABlab(57.68, 26.53, -28.17)
CIE-LCHlch(57.68, 38.69, 313.28°)
OKLaboklab(64.57% 0.0655 -0.0775)
OKLCHoklch(64.57% 0.101 310.2)
XYZxyz(30.9811, 25.6236, 50.8810)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CBC #97BC7C
analogous
#817CBC #A17CBC #BC7CB7
triadic
#A17CBC #BCA17C #7CBCA1
tetradic
#A17CBC #BC817C #97BC7C #7CB7BC
square
#A17CBC #BC817C #97BC7C #7CB7BC
split-complementary
#A17CBC #B7BC7C #7CBC81
monochromatic
#64407D #8455A6 #A17CBC #BEA4D1 #DBCDE5

Accessibility & contrast

On white

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

On black

6.12
#A17CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17CBC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17CBC#FFFFFF#000000##000000
##A17CBC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#9E8593
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a17cbc;
/* rgb */ color: rgb(161, 124, 188);
/* oklch */ color: oklch(64.6% 0.101 310.2);
Tailwind
colors: {
  custom: {
    50: '#bda2d0',
    500: '#a17cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a17cbc;
$custom-light: #bda2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cbc",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 274.688,
    "s": 32.323,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64567,
    "c": 0.10146,
    "h": 310.2
  },
  "luminance": 0.25623
}

Semantic roles & 50–950 ramp

primary
#A17CBC
secondary
#C8D6BE
accent
#AB3A6A
background
#FBFAFC
surface
#F7F3F9
border
#D0CDD2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A17CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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