#A17EEC#A17EEC

#A17EEC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.3% C 0.160 H 296.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A17EEC
RGBrgb(161, 126, 236)
HSLhsl(259, 74%, 71%)
HSVhsv(259, 47%, 93%)
CMYKcmyk(31.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(60.39, 36.80, -50.92)
CIE-LCHlch(60.39, 62.82, 305.86°)
OKLaboklab(67.35% 0.0715 -0.1433)
OKLCHoklch(67.35% 0.16 296.5)
XYZxyz(37.2954, 28.5544, 82.8873)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EEC #C9EC7E
analogous
#7E92EC #A17EEC #D87EEC
triadic
#A17EEC #ECA17E #7EECA1
tetradic
#A17EEC #EC7E92 #C9EC7E #7EECD8
square
#A17EEC #EC7E92 #C9EC7E #7EECD8
split-complementary
#A17EEC #ECD87E #92EC7E
monochromatic
#571FD1 #7A49E4 #A17EEC #C8B3F4 #ECE4FB

Accessibility & contrast

On white

3.13
#A17EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A17EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EEC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EEC#FFFFFF#000000##000000
##A17EEC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#9193AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17eec;
/* rgb */ color: rgb(161, 126, 236);
/* oklch */ color: oklch(67.3% 0.160 296.5);
Tailwind
colors: {
  custom: {
    50: '#c0a4f2',
    500: '#a17eec',
    950: '#000000',
  },
}
SCSS
$custom: #a17eec;
$custom-light: #c0a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a17eec",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 259.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67346,
    "c": 0.16013,
    "h": 296.5
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#A17EEC
secondary
#E8F2D4
accent
#D60F97
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A17EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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