#A170DA#A170DA

#A170DA is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.159 H 303.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A170DA
RGBrgb(161, 112, 218)
HSLhsl(268, 59%, 65%)
HSVhsv(268, 49%, 85%)
CMYKcmyk(26.1%, 48.6%, 0%, 14.5%)
CIE-LABlab(56.31, 40.23, -47.31)
CIE-LCHlch(56.31, 62.10, 310.38°)
OKLaboklab(64% 0.0881 -0.1327)
OKLCHoklch(64% 0.159 303.6)
XYZxyz(33.1442, 24.2274, 69.2463)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170DA #A9DA70
analogous
#7074DA #A170DA #D670DA
triadic
#A170DA #DAA170 #70DAA1
tetradic
#A170DA #DA7074 #A9DA70 #70DAD6
square
#A170DA #DA7074 #A9DA70 #70DAD6
split-complementary
#A170DA #DAD670 #74DA70
monochromatic
#632BA5 #813FCD #A170DA #C1A1E7 #E1D1F3

Accessibility & contrast

On white

3.59
#A170DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A170DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170DA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170DA#FFFFFF#000000##000000
##A170DA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#5D87D7
Tritanopia (blue-blind)
#97839B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a170da;
/* rgb */ color: rgb(161, 112, 218);
/* oklch */ color: oklch(64.0% 0.159 303.6);
Tailwind
colors: {
  custom: {
    50: '#bf9ae6',
    500: '#a170da',
    950: '#000000',
  },
}
SCSS
$custom: #a170da;
$custom-light: #bf9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a170da",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 267.736,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.15929,
    "h": 303.6
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

primary
#A170DA
secondary
#D4E5C1
accent
#C71F79
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A170DA

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

Preview Lab → · Contrast checker → · Palette generator →

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