#A17FED#A17FED

#A17FED is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.6% C 0.160 H 296.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A17FED
RGBrgb(161, 127, 237)
HSLhsl(259, 75%, 71%)
HSVhsv(259, 46%, 93%)
CMYKcmyk(32.1%, 46.4%, 0%, 7.1%)
CIE-LABlab(60.67, 36.49, -51.03)
CIE-LCHlch(60.67, 62.73, 305.57°)
OKLaboklab(67.57% 0.0704 -0.1436)
OKLCHoklch(67.57% 0.16 296.1)
XYZxyz(37.5696, 28.8697, 83.6974)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FED #CBED7F
analogous
#7F94ED #A17FED #D87FED
triadic
#A17FED #EDA17F #7FEDA1
tetradic
#A17FED #ED7F94 #CBED7F #7FEDD8
square
#A17FED #ED7F94 #CBED7F #7FEDD8
split-complementary
#A17FED #EDD87F #94ED7F
monochromatic
#561ED4 #7A49E5 #A17FED #C8B5F5 #EBE4FB

Accessibility & contrast

On white

3.10
#A17FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A17FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FED
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FED#FFFFFF#000000##000000
##A17FED1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#9094AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17fed;
/* rgb */ color: rgb(161, 127, 237);
/* oklch */ color: oklch(67.6% 0.160 296.1);
Tailwind
colors: {
  custom: {
    50: '#c0a4f3',
    500: '#a17fed',
    950: '#000000',
  },
}
SCSS
$custom: #a17fed;
$custom-light: #c0a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fed",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 258.545,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67573,
    "c": 0.1599,
    "h": 296.1
  },
  "luminance": 0.2887
}

Semantic roles & 50–950 ramp

primary
#A17FED
secondary
#E9F2D6
accent
#D80E99
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A17FED

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

Preview Lab → · Contrast checker → · Palette generator →

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