#A17FCA#A17FCA

#A17FCA is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.8% C 0.114 H 304.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A17FCA
RGBrgb(161, 127, 202)
HSLhsl(267, 41%, 65%)
HSVhsv(267, 37%, 79%)
CMYKcmyk(20.3%, 37.1%, 0%, 20.8%)
CIE-LABlab(58.99, 27.98, -34.07)
CIE-LCHlch(58.99, 44.09, 309.40°)
OKLaboklab(65.76% 0.0644 -0.0944)
OKLCHoklch(65.76% 0.114 304.3)
XYZxyz(32.9458, 27.0202, 59.3454)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FCA #A8CA7F
analogous
#7F83CA #A17FCA #C67FCA
triadic
#A17FCA #CAA17F #7FCAA1
tetradic
#A17FCA #CA7F83 #A8CA7F #7FCAC6
square
#A17FCA #CA7F83 #A8CA7F #7FCAC6
split-complementary
#A17FCA #CAC67F #83CA7F
monochromatic
#633C92 #8154B8 #A17FCA #C1AADC #E1D6EE

Accessibility & contrast

On white

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

On black

6.40
#A17FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FCA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FCA#FFFFFF#000000##000000
##A17FCA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#758EC8
Tritanopia (blue-blind)
#9B8B9B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a17fca;
/* rgb */ color: rgb(161, 127, 202);
/* oklch */ color: oklch(65.8% 0.114 304.3);
Tailwind
colors: {
  custom: {
    50: '#bea4da',
    500: '#a17fca',
    950: '#000000',
  },
}
SCSS
$custom: #a17fca;
$custom-light: #bea4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fca",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 267.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65763,
    "c": 0.11427,
    "h": 304.3
  },
  "luminance": 0.2702
}

Semantic roles & 50–950 ramp

primary
#A17FCA
secondary
#D4DFC5
accent
#B43179
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#120F15
muted
#817F83

Preview Lab

Preview with #A17FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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