#A17FE7#A17FE7

#A17FE7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.2% C 0.152 H 297.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A17FE7
RGBrgb(161, 127, 231)
HSLhsl(260, 68%, 70%)
HSVhsv(260, 45%, 91%)
CMYKcmyk(30.3%, 45%, 0%, 9.4%)
CIE-LABlab(60.36, 34.98, -48.18)
CIE-LCHlch(60.36, 59.54, 305.98°)
OKLaboklab(67.24% 0.0696 -0.1353)
OKLCHoklch(67.24% 0.152 297.2)
XYZxyz(36.7076, 28.5249, 79.1577)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FE7 #C5E77F
analogous
#7F91E7 #A17FE7 #D57FE7
triadic
#A17FE7 #E7A17F #7FE7A1
tetradic
#A17FE7 #E77F91 #C5E77F #7FE7D5
square
#A17FE7 #E77F91 #C5E77F #7FE7D5
split-complementary
#A17FE7 #E7D57F #91E77F
monochromatic
#5A25C6 #7B4BDD #A17FE7 #C7B3F1 #ECE5FA

Accessibility & contrast

On white

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

On black

6.70
#A17FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FE7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FE7#FFFFFF#000000##000000
##A17FE71.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#9292A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17fe7;
/* rgb */ color: rgb(161, 127, 231);
/* oklch */ color: oklch(67.2% 0.152 297.2);
Tailwind
colors: {
  custom: {
    50: '#bfa4ef',
    500: '#a17fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a17fe7;
$custom-light: #bfa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fe7",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 259.615,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67243,
    "c": 0.15213,
    "h": 297.2
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#A17FE7
secondary
#E6EFD2
accent
#D01593
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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