#A17CD2#A17CD2

#A17CD2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.6% C 0.130 H 302.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A17CD2
RGBrgb(161, 124, 210)
HSLhsl(266, 49%, 65%)
HSVhsv(266, 41%, 82%)
CMYKcmyk(23.3%, 41%, 0%, 17.6%)
CIE-LABlab(58.64, 31.57, -39.13)
CIE-LCHlch(58.64, 50.28, 308.90°)
OKLaboklab(65.62% 0.0703 -0.109)
OKLCHoklch(65.62% 0.13 302.8)
XYZxyz(33.5360, 26.6455, 64.3366)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CD2 #ADD27C
analogous
#7C82D2 #A17CD2 #CC7CD2
triadic
#A17CD2 #D2A17C #7CD2A1
tetradic
#A17CD2 #D27C82 #ADD27C #7CD2CC
square
#A17CD2 #D27C82 #ADD27C #7CD2CC
split-complementary
#A17CD2 #D2CC7C #82D27C
monochromatic
#63369D #804EC2 #A17CD2 #C2AAE2 #E2D7F1

Accessibility & contrast

On white

3.32
#A17CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A17CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17CD2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17CD2#FFFFFF#000000##000000
##A17CD21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#6F8DD0
Tritanopia (blue-blind)
#998A9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a17cd2;
/* rgb */ color: rgb(161, 124, 210);
/* oklch */ color: oklch(65.6% 0.130 302.8);
Tailwind
colors: {
  custom: {
    50: '#bea2e0',
    500: '#a17cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a17cd2;
$custom-light: #bea2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cd2",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 265.814,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.12969,
    "h": 302.8
  },
  "luminance": 0.26646
}

Semantic roles & 50–950 ramp

primary
#A17CD2
secondary
#D7E3C6
accent
#BC297D
background
#FBFAFD
surface
#F7F3FB
border
#D0CDD4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A17CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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