#A170CA#A170CA

#A170CA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.140 H 308.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A170CA
RGBrgb(161, 112, 202)
HSLhsl(273, 46%, 62%)
HSVhsv(273, 45%, 79%)
CMYKcmyk(20.3%, 44.6%, 0%, 20.8%)
CIE-LABlab(55.51, 36.49, -39.52)
CIE-LCHlch(55.51, 53.79, 312.71°)
OKLaboklab(63.14% 0.0859 -0.1101)
OKLCHoklch(63.14% 0.14 308)
XYZxyz(31.1507, 23.4300, 58.7471)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CA #99CA70
analogous
#7470CA #A170CA #CA70C6
triadic
#A170CA #CAA170 #70CAA1
tetradic
#A170CA #CA7470 #99CA70 #70C6CA
square
#A170CA #CA7470 #99CA70 #70C6CA
split-complementary
#A170CA #C6CA70 #70CA74
monochromatic
#64348C #8444B8 #A170CA #BE9DDB #DCC9EB

Accessibility & contrast

On white

3.69
#A170CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A170CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CA#FFFFFF#000000##000000
##A170CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6786C8
Tritanopia (blue-blind)
#9B7E93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a170ca;
/* rgb */ color: rgb(161, 112, 202);
/* oklch */ color: oklch(63.1% 0.140 308.0);
Tailwind
colors: {
  custom: {
    50: '#be9ada',
    500: '#a170ca',
    950: '#000000',
  },
}
SCSS
$custom: #a170ca;
$custom-light: #be9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ca",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 272.667,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.13965,
    "h": 308
  },
  "luminance": 0.2343
}

Semantic roles & 50–950 ramp

primary
#A170CA
secondary
#C9DCBA
accent
#B92C6C
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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