#A17DFA#A17DFA

#A17DFA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.180 H 294.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A17DFA
RGBrgb(161, 125, 250)
HSLhsl(257, 93%, 74%)
HSVhsv(257, 50%, 98%)
CMYKcmyk(35.6%, 50%, 0%, 2%)
CIE-LABlab(60.91, 40.93, -57.82)
CIE-LCHlch(60.91, 70.84, 305.29°)
OKLaboklab(67.98% 0.0742 -0.1635)
OKLCHoklch(67.98% 0.18 294.4)
XYZxyz(39.2824, 29.1457, 93.9800)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17DFA #D6FA7D
analogous
#7D97FA #A17DFA #DF7DFA
triadic
#A17DFA #FAA17D #7DFAA1
tetradic
#A17DFA #FA7D97 #D6FA7D #7DFADF
square
#A17DFA #FA7D97 #D6FA7D #7DFADF
split-complementary
#A17DFA #FADF7D #97FA7D
monochromatic
#4D09F3 #7642F8 #A17DFA #CCB8FC #EAE2FE

Accessibility & contrast

On white

3.08
#A17DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A17DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17DFA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17DFA#FFFFFF#000000##000000
##A17DFA1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#8C96B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17dfa;
/* rgb */ color: rgb(161, 125, 250);
/* oklch */ color: oklch(68.0% 0.180 294.4);
Tailwind
colors: {
  custom: {
    50: '#c1a3fc',
    500: '#a17dfa',
    950: '#000000',
  },
}
SCSS
$custom: #a17dfa;
$custom-light: #c1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17dfa",
  "rgb": {
    "r": 161,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 257.28,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6798,
    "c": 0.17952,
    "h": 294.4
  },
  "luminance": 0.29146
}

Semantic roles & 50–950 ramp

primary
#A17DFA
secondary
#EDF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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