#A17CF5#A17CF5

#A17CF5 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.175 H 295.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A17CF5
RGBrgb(161, 124, 245)
HSLhsl(258, 86%, 72%)
HSVhsv(258, 49%, 96%)
CMYKcmyk(34.3%, 49.4%, 0%, 3.9%)
CIE-LABlab(60.41, 40.21, -55.86)
CIE-LCHlch(60.41, 68.82, 305.75°)
OKLaboklab(67.52% 0.075 -0.1577)
OKLCHoklch(67.52% 0.175 295.4)
XYZxyz(38.3828, 28.5843, 89.8636)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17CF5 #D0F57C
analogous
#7C94F5 #A17CF5 #DE7CF5
triadic
#A17CF5 #F5A17C #7CF5A1
tetradic
#A17CF5 #F57C94 #D0F57C #7CF5DE
square
#A17CF5 #F57C94 #D0F57C #7CF5DE
split-complementary
#A17CF5 #F5DE7C #94F57C
monochromatic
#5211E5 #7843F1 #A17CF5 #CAB5F9 #EBE3FD

Accessibility & contrast

On white

3.13
#A17CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A17CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17CF5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17CF5#FFFFFF#000000##000000
##A17CF51.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#8E94AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a17cf5;
/* rgb */ color: rgb(161, 124, 245);
/* oklch */ color: oklch(67.5% 0.175 295.4);
Tailwind
colors: {
  custom: {
    50: '#c0a2f9',
    500: '#a17cf5',
    950: '#000000',
  },
}
SCSS
$custom: #a17cf5;
$custom-light: #c0a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a17cf5",
  "rgb": {
    "r": 161,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 258.347,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.17466,
    "h": 295.4
  },
  "luminance": 0.28585
}

Semantic roles & 50–950 ramp

primary
#A17CF5
secondary
#EBF5D6
accent
#E2039E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A17CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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