#A17FF9#A17FF9

#A17FF9 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.175 H 294.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A17FF9
RGBrgb(161, 127, 249)
HSLhsl(257, 91%, 74%)
HSVhsv(257, 49%, 98%)
CMYKcmyk(35.3%, 49%, 0%, 2.4%)
CIE-LABlab(61.30, 39.55, -56.64)
CIE-LCHlch(61.30, 69.09, 304.93°)
OKLaboklab(68.26% 0.0716 -0.16)
OKLCHoklch(68.26% 0.175 294.1)
XYZxyz(39.3818, 29.5946, 93.2416)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FF9 #D7F97F
analogous
#7F9AF9 #A17FF9 #DE7FF9
triadic
#A17FF9 #F9A17F #7FF9A1
tetradic
#A17FF9 #F97F9A #D7F97F #7FF9DE
square
#A17FF9 #F97F9A #D7F97F #7FF9DE
split-complementary
#A17FF9 #F9DE7F #9AF97F
monochromatic
#4C0BF2 #7645F6 #A17FF9 #CCB9FC #EAE2FE

Accessibility & contrast

On white

3.04
#A17FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A17FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FF9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FF9#FFFFFF#000000##000000
##A17FF91.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#8C97B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17ff9;
/* rgb */ color: rgb(161, 127, 249);
/* oklch */ color: oklch(68.3% 0.175 294.1);
Tailwind
colors: {
  custom: {
    50: '#c0a5fc',
    500: '#a17ff9',
    950: '#000000',
  },
}
SCSS
$custom: #a17ff9;
$custom-light: #c0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ff9",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 256.721,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68256,
    "c": 0.17532,
    "h": 294.1
  },
  "luminance": 0.29595
}

Semantic roles & 50–950 ramp

primary
#A17FF9
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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