#A170FD#A170FD

#A170FD is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.1% C 0.202 H 296.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A170FD
RGBrgb(161, 112, 253)
HSLhsl(261, 97%, 72%)
HSVhsv(261, 56%, 99%)
CMYKcmyk(36.4%, 55.7%, 0%, 0.8%)
CIE-LABlab(58.28, 48.87, -63.69)
CIE-LCHlch(58.28, 80.28, 307.50°)
OKLaboklab(66.09% 0.0901 -0.1807)
OKLCHoklch(66.09% 0.202 296.5)
XYZxyz(38.2172, 26.2566, 95.9640)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FD #CCFD70
analogous
#7086FD #A170FD #E770FD
triadic
#A170FD #FDA170 #70FDA1
tetradic
#A170FD #FD7086 #CCFD70 #70FDE7
square
#A170FD #FD7086 #CCFD70 #70FDE7
split-complementary
#A170FD #FDE770 #86FD70
monochromatic
#5503EF #7934FC #A170FD #C9ACFE #EBE1FF

Accessibility & contrast

On white

3.36
#A170FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A170FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FD#FFFFFF#000000##000000
##A170FD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8DFF
Deuteranopia (green-blind)
#3D8AFA
Tritanopia (blue-blind)
#8B8DAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a170fd;
/* rgb */ color: rgb(161, 112, 253);
/* oklch */ color: oklch(66.1% 0.202 296.5);
Tailwind
colors: {
  custom: {
    50: '#c29bff',
    500: '#a170fd',
    950: '#000000',
  },
}
SCSS
$custom: #a170fd;
$custom-light: #c29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a170fd",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 260.851,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.2019,
    "h": 296.5
  },
  "luminance": 0.26257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A170FD

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

Preview Lab → · Contrast checker → · Palette generator →

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