#A17EE7#A17EE7

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

Color values

HEX#A17EE7
RGBrgb(161, 126, 231)
HSLhsl(260, 69%, 70%)
HSVhsv(260, 45%, 91%)
CMYKcmyk(30.3%, 45.5%, 0%, 9.4%)
CIE-LABlab(60.13, 35.55, -48.54)
CIE-LCHlch(60.13, 60.17, 306.21°)
OKLaboklab(67.07% 0.0709 -0.1363)
OKLCHoklch(67.07% 0.154 297.5)
XYZxyz(36.5791, 28.2679, 79.1149)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EE7 #C4E77E
analogous
#7E90E7 #A17EE7 #D57EE7
triadic
#A17EE7 #E7A17E #7EE7A1
tetradic
#A17EE7 #E77E90 #C4E77E #7EE7D5
square
#A17EE7 #E77E90 #C4E77E #7EE7D5
split-complementary
#A17EE7 #E7D57E #90E77E
monochromatic
#5A25C6 #7B4ADD #A17EE7 #C7B2F1 #ECE5FA

Accessibility & contrast

On white

3.16
#A17EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A17EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EE7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EE7#FFFFFF#000000##000000
##A17EE71.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#9291A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17ee7;
/* rgb */ color: rgb(161, 126, 231);
/* oklch */ color: oklch(67.1% 0.154 297.5);
Tailwind
colors: {
  custom: {
    50: '#bfa4ef',
    500: '#a17ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a17ee7;
$custom-light: #bfa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ee7",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 260,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.6707,
    "c": 0.15368,
    "h": 297.5
  },
  "luminance": 0.28268
}

Semantic roles & 50–950 ramp

primary
#A17EE7
secondary
#E5EFD2
accent
#D11592
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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