#A17EF2#A17EF2

#A17EF2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.168 H 295.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A17EF2
RGBrgb(161, 126, 242)
HSLhsl(258, 82%, 72%)
HSVhsv(258, 48%, 95%)
CMYKcmyk(33.5%, 47.9%, 0%, 5.1%)
CIE-LABlab(60.70, 38.32, -53.74)
CIE-LCHlch(60.70, 66.00, 305.49°)
OKLaboklab(67.68% 0.0722 -0.1515)
OKLCHoklch(67.68% 0.168 295.5)
XYZxyz(38.1818, 28.9090, 87.5555)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17EF2 #CFF27E
analogous
#7E95F2 #A17EF2 #DB7EF2
triadic
#A17EF2 #F2A17E #7EF2A1
tetradic
#A17EF2 #F27E95 #CFF27E #7EF2DB
square
#A17EF2 #F27E95 #CFF27E #7EF2DB
split-complementary
#A17EF2 #F2DB7E #95F27E
monochromatic
#5316DF #7846EC #A17EF2 #CAB6F8 #EBE3FC

Accessibility & contrast

On white

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

On black

6.78
#A17EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17EF2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17EF2#FFFFFF#000000##000000
##A17EF21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F6
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#8F94AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17ef2;
/* rgb */ color: rgb(161, 126, 242);
/* oklch */ color: oklch(67.7% 0.168 295.5);
Tailwind
colors: {
  custom: {
    50: '#c0a4f7',
    500: '#a17ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a17ef2;
$custom-light: #c0a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ef2",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 258.103,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.16784,
    "h": 295.5
  },
  "luminance": 0.2891
}

Semantic roles & 50–950 ramp

primary
#A17EF2
secondary
#EBF4D7
accent
#DE079D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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