#A17DEC#A17DEC

#A17DEC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.2% C 0.162 H 296.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A17DEC
RGBrgb(161, 125, 236)
HSLhsl(259, 74%, 71%)
HSVhsv(259, 47%, 93%)
CMYKcmyk(31.8%, 47%, 0%, 7.5%)
CIE-LABlab(60.16, 37.36, -51.28)
CIE-LCHlch(60.16, 63.45, 306.08°)
OKLaboklab(67.18% 0.0728 -0.1443)
OKLCHoklch(67.18% 0.162 296.8)
XYZxyz(37.1682, 28.2999, 82.8448)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DEC #C8EC7D
analogous
#7D90EC #A17DEC #D87DEC
triadic
#A17DEC #ECA17D #7DECA1
tetradic
#A17DEC #EC7D90 #C8EC7D #7DECD8
square
#A17DEC #EC7D90 #C8EC7D #7DECD8
split-complementary
#A17DEC #ECD87D #90EC7D
monochromatic
#581ED0 #7A48E4 #A17DEC #C8B2F4 #ECE4FB

Accessibility & contrast

On white

3.15
#A17DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A17DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DEC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DEC#FFFFFF#000000##000000
##A17DEC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#9192A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17dec;
/* rgb */ color: rgb(161, 125, 236);
/* oklch */ color: oklch(67.2% 0.162 296.8);
Tailwind
colors: {
  custom: {
    50: '#c0a3f3',
    500: '#a17dec',
    950: '#000000',
  },
}
SCSS
$custom: #a17dec;
$custom-light: #c0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a17dec",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 259.459,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67175,
    "c": 0.16167,
    "h": 296.8
  },
  "luminance": 0.283
}

Semantic roles & 50–950 ramp

primary
#A17DEC
secondary
#E8F1D3
accent
#D70F96
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A17DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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