#A17CFD#A17CFD

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

Color values

HEX#A17CFD
RGBrgb(161, 124, 253)
HSLhsl(257, 97%, 74%)
HSVhsv(257, 51%, 99%)
CMYKcmyk(36.4%, 51%, 0%, 0.8%)
CIE-LABlab(60.86, 42.27, -59.56)
CIE-LCHlch(60.86, 73.03, 305.36°)
OKLaboklab(67.99% 0.0756 -0.1686)
OKLCHoklch(67.99% 0.185 294.2)
XYZxyz(39.6306, 29.0834, 96.4351)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CFD #D8FD7C
analogous
#7C98FD #A17CFD #E17CFD
triadic
#A17CFD #FDA17C #7CFDA1
tetradic
#A17CFD #FD7C98 #D8FD7C #7CFDE1
square
#A17CFD #FD7C98 #D8FD7C #7CFDE1
split-complementary
#A17CFD #FDE17C #98FD7C
monochromatic
#4B04FB #7640FC #A17CFD #CCB8FE #E9E1FF

Accessibility & contrast

On white

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

On black

6.82
#A17CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17CFD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17CFD#FFFFFF#000000##000000
##A17CFD1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#8B96B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17cfd;
/* rgb */ color: rgb(161, 124, 253);
/* oklch */ color: oklch(68.0% 0.185 294.2);
Tailwind
colors: {
  custom: {
    50: '#c1a3ff',
    500: '#a17cfd',
    950: '#000000',
  },
}
SCSS
$custom: #a17cfd;
$custom-light: #c1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cfd",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 257.209,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.18476,
    "h": 294.2
  },
  "luminance": 0.29084
}

Semantic roles & 50–950 ramp

primary
#A17CFD
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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