#A170F6#A170F6

#A170F6 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.193 H 297.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A170F6
RGBrgb(161, 112, 246)
HSLhsl(262, 88%, 70%)
HSVhsv(262, 54%, 96%)
CMYKcmyk(34.6%, 54.5%, 0%, 3.5%)
CIE-LABlab(57.86, 47.10, -60.48)
CIE-LCHlch(57.86, 76.66, 307.91°)
OKLaboklab(65.65% 0.09 -0.1713)
OKLCHoklch(65.65% 0.193 297.7)
XYZxyz(37.1225, 25.8187, 90.1986)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170F6 #C5F670
analogous
#7082F6 #A170F6 #E470F6
triadic
#A170F6 #F6A170 #70F6A1
tetradic
#A170F6 #F67082 #C5F670 #70F6E4
square
#A170F6 #F67082 #C5F670 #70F6E4
split-complementary
#A170F6 #F6E470 #82F670
monochromatic
#5A0EDE #7B36F2 #A170F6 #C7AAFA #ECE2FD

Accessibility & contrast

On white

3.41
#A170F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A170F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170F6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170F6#FFFFFF#000000##000000
##A170F61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#458AF3
Tritanopia (blue-blind)
#8E8BA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a170f6;
/* rgb */ color: rgb(161, 112, 246);
/* oklch */ color: oklch(65.6% 0.193 297.7);
Tailwind
colors: {
  custom: {
    50: '#c19afa',
    500: '#a170f6',
    950: '#000000',
  },
}
SCSS
$custom: #a170f6;
$custom-light: #c19afa;
$custom-dark: #000000;
JSON
{
  "hex": "#a170f6",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 261.94,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.19346,
    "h": 297.7
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

primary
#A170F6
secondary
#E6F3CE
accent
#E50191
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A170F6

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

Preview Lab → · Contrast checker → · Palette generator →

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