#A170FE#A170FE

#A170FE is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.2% C 0.203 H 296.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A170FE
RGBrgb(161, 112, 254)
HSLhsl(261, 99%, 72%)
HSVhsv(261, 56%, 100%)
CMYKcmyk(36.6%, 55.9%, 0%, 0.4%)
CIE-LABlab(58.34, 49.13, -64.14)
CIE-LCHlch(58.34, 80.79, 307.45°)
OKLaboklab(66.15% 0.0901 -0.182)
OKLCHoklch(66.15% 0.203 296.3)
XYZxyz(38.3769, 26.3205, 96.8052)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FE #CDFE70
analogous
#7086FE #A170FE #E870FE
triadic
#A170FE #FEA170 #70FEA1
tetradic
#A170FE #FE7086 #CDFE70 #70FEE8
square
#A170FE #FE7086 #CDFE70 #70FEE8
split-complementary
#A170FE #FEE870 #86FE70
monochromatic
#5502F2 #7933FE #A170FE #C9ADFE #EBE1FF

Accessibility & contrast

On white

3.35
#A170FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A170FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FE#FFFFFF#000000##000000
##A170FE1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#298DFF
Deuteranopia (green-blind)
#3B8AFB
Tritanopia (blue-blind)
#8B8EAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a170fe;
/* rgb */ color: rgb(161, 112, 254);
/* oklch */ color: oklch(66.2% 0.203 296.3);
Tailwind
colors: {
  custom: {
    50: '#c29bff',
    500: '#a170fe',
    950: '#000000',
  },
}
SCSS
$custom: #a170fe;
$custom-light: #c29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a170fe",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 260.704,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.2031,
    "h": 296.3
  },
  "luminance": 0.26321
}

Semantic roles & 50–950 ramp

primary
#A170FE
secondary
#EAF7D3
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A170FE

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

Preview Lab → · Contrast checker → · Palette generator →

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