#A17FE5#A17FE5

#A17FE5 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.1% C 0.150 H 297.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A17FE5
RGBrgb(161, 127, 229)
HSLhsl(260, 66%, 70%)
HSVhsv(260, 45%, 90%)
CMYKcmyk(29.7%, 44.5%, 0%, 10.2%)
CIE-LABlab(60.26, 34.48, -47.23)
CIE-LCHlch(60.26, 58.47, 306.14°)
OKLaboklab(67.14% 0.0693 -0.1325)
OKLCHoklch(67.14% 0.15 297.6)
XYZxyz(36.4268, 28.4126, 77.6786)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17FE5 #C3E57F
analogous
#7F90E5 #A17FE5 #D47FE5
triadic
#A17FE5 #E5A17F #7FE5A1
tetradic
#A17FE5 #E57F90 #C3E57F #7FE5D4
square
#A17FE5 #E57F90 #C3E57F #7FE5D4
split-complementary
#A17FE5 #E5D47F #90E57F
monochromatic
#5B27C2 #7C4CDB #A17FE5 #C6B2EF #ECE5FA

Accessibility & contrast

On white

3.14
#A17FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A17FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17FE5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17FE5#FFFFFF#000000##000000
##A17FE51.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6092E9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#9391A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a17fe5;
/* rgb */ color: rgb(161, 127, 229);
/* oklch */ color: oklch(67.1% 0.150 297.6);
Tailwind
colors: {
  custom: {
    50: '#bfa4ed',
    500: '#a17fe5',
    950: '#000000',
  },
}
SCSS
$custom: #a17fe5;
$custom-light: #bfa4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a17fe5",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 260,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67135,
    "c": 0.14953,
    "h": 297.6
  },
  "luminance": 0.28413
}

Semantic roles & 50–950 ramp

primary
#A17FE5
secondary
#E5EED1
accent
#CE1791
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A17FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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