#A17EFA#A17EFA

#A17EFA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.1% C 0.178 H 294.2°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A17EFA
RGBrgb(161, 126, 250)
HSLhsl(257, 93%, 74%)
HSVhsv(257, 50%, 98%)
CMYKcmyk(35.6%, 49.6%, 0%, 2%)
CIE-LABlab(61.13, 40.37, -57.46)
CIE-LCHlch(61.13, 70.23, 305.09°)
OKLaboklab(68.15% 0.073 -0.1624)
OKLCHoklch(68.15% 0.178 294.2)
XYZxyz(39.4097, 29.4001, 94.0224)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EFA #D7FA7E
analogous
#7E99FA #A17EFA #DF7EFA
triadic
#A17EFA #FAA17E #7EFAA1
tetradic
#A17EFA #FA7E99 #D7FA7E #7EFADF
square
#A17EFA #FA7E99 #D7FA7E #7EFADF
split-complementary
#A17EFA #FADF7E #99FA7E
monochromatic
#4C09F4 #7643F8 #A17EFA #CCB9FC #EAE2FE

Accessibility & contrast

On white

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

On black

6.88
#A17EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EFA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EFA#FFFFFF#000000##000000
##A17EFA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#8C97B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a17efa;
/* rgb */ color: rgb(161, 126, 250);
/* oklch */ color: oklch(68.1% 0.178 294.2);
Tailwind
colors: {
  custom: {
    50: '#c1a4fc',
    500: '#a17efa',
    950: '#000000',
  },
}
SCSS
$custom: #a17efa;
$custom-light: #c1a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a17efa",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 256.935,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68147,
    "c": 0.17806,
    "h": 294.2
  },
  "luminance": 0.29401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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