#A17EE8#A17EE8

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

Color values

HEX#A17EE8
RGBrgb(161, 126, 232)
HSLhsl(260, 70%, 70%)
HSVhsv(260, 46%, 91%)
CMYKcmyk(30.6%, 45.7%, 0%, 9%)
CIE-LABlab(60.18, 35.80, -49.02)
CIE-LCHlch(60.18, 60.70, 306.14°)
OKLaboklab(67.13% 0.071 -0.1377)
OKLCHoklch(67.13% 0.155 297.3)
XYZxyz(36.7208, 28.3246, 79.8608)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EE8 #C5E87E
analogous
#7E90E8 #A17EE8 #D67EE8
triadic
#A17EE8 #E8A17E #7EE8A1
tetradic
#A17EE8 #E87E90 #C5E87E #7EE8D6
square
#A17EE8 #E87E90 #C5E87E #7EE8D6
split-complementary
#A17EE8 #E8D67E #90E87E
monochromatic
#5A24C8 #7B4ADF #A17EE8 #C7B2F1 #ECE5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A17EE8#FFFFFF#000000##000000
##A17EE81.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)
#5D91EC
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#9292A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17ee8;
/* rgb */ color: rgb(161, 126, 232);
/* oklch */ color: oklch(67.1% 0.155 297.3);
Tailwind
colors: {
  custom: {
    50: '#bfa4f0',
    500: '#a17ee8',
    950: '#000000',
  },
}
SCSS
$custom: #a17ee8;
$custom-light: #bfa4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ee8",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 259.811,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67125,
    "c": 0.15498,
    "h": 297.3
  },
  "luminance": 0.28325
}

Semantic roles & 50–950 ramp

primary
#A17EE8
secondary
#E6F0D2
accent
#D21493
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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