#A170CE#A170CE

#A170CE is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.145 H 306.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A170CE
RGBrgb(161, 112, 206)
HSLhsl(271, 49%, 62%)
HSVhsv(271, 46%, 81%)
CMYKcmyk(21.8%, 45.6%, 0%, 19.2%)
CIE-LABlab(55.71, 37.41, -41.49)
CIE-LCHlch(55.71, 55.86, 312.04°)
OKLaboklab(63.35% 0.0865 -0.1158)
OKLCHoklch(63.35% 0.145 306.8)
XYZxyz(31.6305, 23.6219, 61.2737)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CE #9DCE70
analogous
#7270CE #A170CE #CE70CC
triadic
#A170CE #CEA170 #70CEA1
tetradic
#A170CE #CE7270 #9DCE70 #70CCCE
square
#A170CE #CE7270 #9DCE70 #70CCCE
split-complementary
#A170CE #CCCE70 #70CE72
monochromatic
#643292 #8342BE #A170CE #BF9EDE #DDCBED

Accessibility & contrast

On white

3.67
#A170CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A170CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CE#FFFFFF#000000##000000
##A170CE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#9A7F95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a170ce;
/* rgb */ color: rgb(161, 112, 206);
/* oklch */ color: oklch(63.3% 0.145 306.8);
Tailwind
colors: {
  custom: {
    50: '#bf9add',
    500: '#a170ce',
    950: '#000000',
  },
}
SCSS
$custom: #a170ce;
$custom-light: #bf9add;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ce",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 271.277,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.14456,
    "h": 306.8
  },
  "luminance": 0.23622
}

Semantic roles & 50–950 ramp

primary
#A170CE
secondary
#CCDEBC
accent
#BC2970
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CE

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

Preview Lab → · Contrast checker → · Palette generator →

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