#A170CB#A170CB

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

Color values

HEX#A170CB
RGBrgb(161, 112, 203)
HSLhsl(272, 47%, 62%)
HSVhsv(272, 45%, 80%)
CMYKcmyk(20.7%, 44.8%, 0%, 20.4%)
CIE-LABlab(55.56, 36.72, -40.01)
CIE-LCHlch(55.56, 54.31, 312.54°)
OKLaboklab(63.19% 0.0861 -0.1115)
OKLCHoklch(63.19% 0.141 307.7)
XYZxyz(31.2695, 23.4775, 59.3727)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CB #9ACB70
analogous
#7470CB #A170CB #CB70C8
triadic
#A170CB #CBA170 #70CBA1
tetradic
#A170CB #CB7470 #9ACB70 #70C8CB
square
#A170CB #CB7470 #9ACB70 #70C8CB
split-complementary
#A170CB #C8CB70 #70CB74
monochromatic
#64338D #8344BA #A170CB #BF9DDB #DCCAEC

Accessibility & contrast

On white

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

On black

5.70
#A170CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CB#FFFFFF#000000##000000
##A170CB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a170cb;
/* rgb */ color: rgb(161, 112, 203);
/* oklch */ color: oklch(63.2% 0.141 307.7);
Tailwind
colors: {
  custom: {
    50: '#be9adb',
    500: '#a170cb',
    950: '#000000',
  },
}
SCSS
$custom: #a170cb;
$custom-light: #be9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#a170cb",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 272.308,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.14088,
    "h": 307.7
  },
  "luminance": 0.23477
}

Semantic roles & 50–950 ramp

primary
#A170CB
secondary
#CADCBB
accent
#BA2C6D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CB

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

Preview Lab → · Contrast checker → · Palette generator →

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