#A170CC#A170CC

#A170CC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.142 H 307.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A170CC
RGBrgb(161, 112, 204)
HSLhsl(272, 47%, 62%)
HSVhsv(272, 45%, 80%)
CMYKcmyk(21.1%, 45.1%, 0%, 20%)
CIE-LABlab(55.61, 36.95, -40.51)
CIE-LCHlch(55.61, 54.82, 312.37°)
OKLaboklab(63.24% 0.0862 -0.1129)
OKLCHoklch(63.24% 0.142 307.4)
XYZxyz(31.3890, 23.5254, 60.0023)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CC #9BCC70
analogous
#7370CC #A170CC #CC70C9
triadic
#A170CC #CCA170 #70CCA1
tetradic
#A170CC #CC7370 #9BCC70 #70C9CC
square
#A170CC #CC7370 #9BCC70 #70C9CC
split-complementary
#A170CC #C9CC70 #70CC73
monochromatic
#64338F #8343BC #A170CC #BF9DDC #DCCAEC

Accessibility & contrast

On white

3.68
#A170CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A170CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CC#FFFFFF#000000##000000
##A170CC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CF
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#9B7F94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a170cc;
/* rgb */ color: rgb(161, 112, 204);
/* oklch */ color: oklch(63.2% 0.142 307.4);
Tailwind
colors: {
  custom: {
    50: '#be9adc',
    500: '#a170cc',
    950: '#000000',
  },
}
SCSS
$custom: #a170cc;
$custom-light: #be9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a170cc",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 271.957,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.1421,
    "h": 307.4
  },
  "luminance": 0.23525
}

Semantic roles & 50–950 ramp

primary
#A170CC
secondary
#CBDDBB
accent
#BB2B6E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CC

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

Preview Lab → · Contrast checker → · Palette generator →

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