#A170FA#A170FA

#A170FA is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.198 H 297.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A170FA
RGBrgb(161, 112, 250)
HSLhsl(261, 93%, 71%)
HSVhsv(261, 55%, 98%)
CMYKcmyk(35.6%, 55.2%, 0%, 2%)
CIE-LABlab(58.10, 48.11, -62.32)
CIE-LCHlch(58.10, 78.73, 307.67°)
OKLaboklab(65.9% 0.09 -0.1767)
OKLCHoklch(65.9% 0.198 297)
XYZxyz(37.7431, 26.0670, 93.4669)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170FA #C9FA70
analogous
#7084FA #A170FA #E670FA
triadic
#A170FA #FAA170 #70FAA1
tetradic
#A170FA #FA7084 #C9FA70 #70FAE6
square
#A170FA #FA7084 #C9FA70 #70FAE6
split-complementary
#A170FA #FAE670 #84FA70
monochromatic
#5708E8 #7A35F8 #A170FA #C8ABFC #ECE1FE

Accessibility & contrast

On white

3.38
#A170FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A170FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170FA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170FA#FFFFFF#000000##000000
##A170FA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8CFF
Deuteranopia (green-blind)
#418AF7
Tritanopia (blue-blind)
#8C8CAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a170fa;
/* rgb */ color: rgb(161, 112, 250);
/* oklch */ color: oklch(65.9% 0.198 297.0);
Tailwind
colors: {
  custom: {
    50: '#c19afd',
    500: '#a170fa',
    950: '#000000',
  },
}
SCSS
$custom: #a170fa;
$custom-light: #c19afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a170fa",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 261.304,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65898,
    "c": 0.19829,
    "h": 297
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#A170FA
secondary
#E8F5D1
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A170FA

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

Preview Lab → · Contrast checker → · Palette generator →

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