#A170CF#A170CF

#A170CF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.146 H 306.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A170CF
RGBrgb(161, 112, 207)
HSLhsl(271, 50%, 63%)
HSVhsv(271, 46%, 81%)
CMYKcmyk(22.2%, 45.9%, 0%, 18.8%)
CIE-LABlab(55.76, 37.64, -41.98)
CIE-LCHlch(55.76, 56.38, 311.88°)
OKLaboklab(63.4% 0.0867 -0.1172)
OKLCHoklch(63.4% 0.146 306.5)
XYZxyz(31.7523, 23.6707, 61.9155)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CF #9ECF70
analogous
#7170CF #A170CF #CF70CE
triadic
#A170CF #CFA170 #70CFA1
tetradic
#A170CF #CF7170 #9ECF70 #70CECF
square
#A170CF #CF7170 #9ECF70 #70CECF
split-complementary
#A170CF #CECF70 #70CF71
monochromatic
#643193 #8342C0 #A170CF #BF9EDE #DDCCEE

Accessibility & contrast

On white

3.66
#A170CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A170CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CF#FFFFFF#000000##000000
##A170CF1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D2
Deuteranopia (green-blind)
#6486CD
Tritanopia (blue-blind)
#9A8096
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a170cf;
/* rgb */ color: rgb(161, 112, 207);
/* oklch */ color: oklch(63.4% 0.146 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf9ade',
    500: '#a170cf',
    950: '#000000',
  },
}
SCSS
$custom: #a170cf;
$custom-light: #bf9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#a170cf",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 270.947,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63399,
    "c": 0.14579,
    "h": 306.5
  },
  "luminance": 0.2367
}

Semantic roles & 50–950 ramp

primary
#A170CF
secondary
#CDDFBC
accent
#BD2870
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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