#A17FFA#A17FFA

#A17FFA is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.177 H 294.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A17FFA
RGBrgb(161, 127, 250)
HSLhsl(257, 92%, 74%)
HSVhsv(257, 49%, 98%)
CMYKcmyk(35.6%, 49.2%, 0%, 2%)
CIE-LABlab(61.36, 39.81, -57.11)
CIE-LCHlch(61.36, 69.61, 304.88°)
OKLaboklab(68.31% 0.0717 -0.1614)
OKLCHoklch(68.31% 0.177 294)
XYZxyz(39.5382, 29.6571, 94.0652)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FFA #D8FA7F
analogous
#7F9BFA #A17FFA #DE7FFA
triadic
#A17FFA #FAA17F #7FFAA1
tetradic
#A17FFA #FA7F9B #D8FA7F #7FFADE
square
#A17FFA #FA7F9B #D8FA7F #7FFADE
split-complementary
#A17FFA #FADE7F #9BFA7F
monochromatic
#4B0AF5 #7644F8 #A17FFA #CCBAFC #E9E2FE

Accessibility & contrast

On white

3.03
#A17FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A17FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FFA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FFA#FFFFFF#000000##000000
##A17FFA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#8C97B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17ffa;
/* rgb */ color: rgb(161, 127, 250);
/* oklch */ color: oklch(68.3% 0.177 294.0);
Tailwind
colors: {
  custom: {
    50: '#c1a5fc',
    500: '#a17ffa',
    950: '#000000',
  },
}
SCSS
$custom: #a17ffa;
$custom-light: #c1a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ffa",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 256.585,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.17659,
    "h": 294
  },
  "luminance": 0.29658
}

Semantic roles & 50–950 ramp

primary
#A17FFA
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A17FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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