#A17CFE#A17CFE

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

Color values

HEX#A17CFE
RGBrgb(161, 124, 254)
HSLhsl(257, 98%, 74%)
HSVhsv(257, 51%, 100%)
CMYKcmyk(36.6%, 51.2%, 0%, 0.4%)
CIE-LABlab(60.91, 42.52, -60.02)
CIE-LCHlch(60.91, 73.56, 305.32°)
OKLaboklab(68.05% 0.0757 -0.1699)
OKLCHoklch(68.05% 0.186 294)
XYZxyz(39.7903, 29.1473, 97.2763)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CFE #D9FE7C
analogous
#7C98FE #A17CFE #E27CFE
triadic
#A17CFE #FEA17C #7CFEA1
tetradic
#A17CFE #FE7C98 #D9FE7C #7CFEE2
square
#A17CFE #FE7C98 #D9FE7C #7CFEE2
split-complementary
#A17CFE #FEE27C #98FE7C
monochromatic
#4A03FD #753FFE #A17CFE #CDB9FE #E9E1FF

Accessibility & contrast

On white

3.07
#A17CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A17CFE#FFFFFF#000000##000000
##A17CFE1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#8A96B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a17cfe;
/* rgb */ color: rgb(161, 124, 254);
/* oklch */ color: oklch(68.1% 0.186 294.0);
Tailwind
colors: {
  custom: {
    50: '#c1a3ff',
    500: '#a17cfe',
    950: '#000000',
  },
}
SCSS
$custom: #a17cfe;
$custom-light: #c1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cfe",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 257.077,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.18602,
    "h": 294
  },
  "luminance": 0.29148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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