#A170FF#A170FF

#A170FF is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.2% C 0.204 H 296.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A170FF
RGBrgb(161, 112, 255)
HSLhsl(261, 100%, 72%)
HSVhsv(261, 56%, 100%)
CMYKcmyk(36.9%, 56.1%, 0%, 0%)
CIE-LABlab(58.40, 49.38, -64.60)
CIE-LCHlch(58.40, 81.31, 307.40°)
OKLaboklab(66.22% 0.0901 -0.1834)
OKLCHoklch(66.22% 0.204 296.2)
XYZxyz(38.5375, 26.3847, 97.6507)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FF #CEFF70
analogous
#7087FF #A170FF #E870FF
triadic
#A170FF #FFA170 #70FFA1
tetradic
#A170FF #FF7087 #CEFF70 #70FFE8
square
#A170FF #FF7087 #CEFF70 #70FFE8
split-complementary
#A170FF #FFE870 #87FF70
monochromatic
#5400F5 #7933FF #A170FF #C9ADFF #EBE0FF

Accessibility & contrast

On white

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

On black

6.28
#A170FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FF#FFFFFF#000000##000000
##A170FF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#278DFF
Deuteranopia (green-blind)
#3A8BFC
Tritanopia (blue-blind)
#8B8EAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a170ff;
/* rgb */ color: rgb(161, 112, 255);
/* oklch */ color: oklch(66.2% 0.204 296.2);
Tailwind
colors: {
  custom: {
    50: '#c29bff',
    500: '#a170ff',
    950: '#000000',
  },
}
SCSS
$custom: #a170ff;
$custom-light: #c29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ff",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 260.559,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.2043,
    "h": 296.2
  },
  "luminance": 0.26385
}

Semantic roles & 50–950 ramp

primary
#A170FF
secondary
#EBF7D3
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A170FF

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

Preview Lab → · Contrast checker → · Palette generator →

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