#A17FF7#A17FF7

#A17FF7 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.173 H 294.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A17FF7
RGBrgb(161, 127, 247)
HSLhsl(257, 88%, 73%)
HSVhsv(257, 49%, 97%)
CMYKcmyk(34.8%, 48.6%, 0%, 3.1%)
CIE-LABlab(61.19, 39.04, -55.71)
CIE-LCHlch(61.19, 68.03, 305.02°)
OKLaboklab(68.14% 0.0714 -0.1573)
OKLCHoklch(68.14% 0.173 294.4)
XYZxyz(39.0715, 29.4705, 91.6075)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FF7 #D5F77F
analogous
#7F99F7 #A17FF7 #DD7FF7
triadic
#A17FF7 #F7A17F #7FF7A1
tetradic
#A17FF7 #F77F99 #D5F77F #7FF7DD
square
#A17FF7 #F77F99 #D5F77F #7FF7DD
split-complementary
#A17FF7 #F7DD7F #99F77F
monochromatic
#4E0FED #7745F3 #A17FF7 #CBB9FB #EAE2FD

Accessibility & contrast

On white

3.05
#A17FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A17FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FF7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FF7#FFFFFF#000000##000000
##A17FF71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#8D96AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17ff7;
/* rgb */ color: rgb(161, 127, 247);
/* oklch */ color: oklch(68.1% 0.173 294.4);
Tailwind
colors: {
  custom: {
    50: '#c0a5fa',
    500: '#a17ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a17ff7;
$custom-light: #c0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ff7",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 257,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.17276,
    "h": 294.4
  },
  "luminance": 0.29471
}

Semantic roles & 50–950 ramp

primary
#A17FF7
secondary
#ECF5D6
accent
#E501A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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