#A17CDF#A17CDF

#A17CDF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.3% C 0.146 H 299.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A17CDF
RGBrgb(161, 124, 223)
HSLhsl(262, 61%, 68%)
HSVhsv(262, 44%, 87%)
CMYKcmyk(27.8%, 44.4%, 0%, 12.5%)
CIE-LABlab(59.27, 34.70, -45.44)
CIE-LCHlch(59.27, 57.18, 307.37°)
OKLaboklab(66.29% 0.0725 -0.1273)
OKLCHoklch(66.29% 0.147 299.6)
XYZxyz(35.2218, 27.3199, 73.2154)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CDF #BADF7C
analogous
#7C88DF #A17CDF #D27CDF
triadic
#A17CDF #DFA17C #7CDFA1
tetradic
#A17CDF #DF7C88 #BADF7C #7CDFD2
square
#A17CDF #DF7C88 #BADF7C #7CDFD2
split-complementary
#A17CDF #DFD27C #88DF7C
monochromatic
#5F2CB5 #7E4BD3 #A17CDF #C4ADEB #E8DEF7

Accessibility & contrast

On white

3.25
#A17CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A17CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17CDF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17CDF#FFFFFF#000000##000000
##A17CDF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#958EA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a17cdf;
/* rgb */ color: rgb(161, 124, 223);
/* oklch */ color: oklch(66.3% 0.146 299.6);
Tailwind
colors: {
  custom: {
    50: '#bfa2e9',
    500: '#a17cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a17cdf;
$custom-light: #bfa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cdf",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 262.424,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.1465,
    "h": 299.6
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#A17CDF
secondary
#DFEBCC
accent
#C81D88
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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