#A170BC#A170BC

#A170BC is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.123 H 312.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A170BC
RGBrgb(161, 112, 188)
HSLhsl(279, 36%, 59%)
HSVhsv(279, 40%, 74%)
CMYKcmyk(14.4%, 40.4%, 0%, 26.3%)
CIE-LABlab(54.86, 33.35, -32.54)
CIE-LCHlch(54.86, 46.60, 315.70°)
OKLaboklab(62.43% 0.0834 -0.0899)
OKLCHoklch(62.43% 0.123 312.8)
XYZxyz(29.5677, 22.7968, 50.4098)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170BC #8BBC70
analogous
#7B70BC #A170BC #BC70B1
triadic
#A170BC #BCA170 #70BCA1
tetradic
#A170BC #BC7B70 #8BBC70 #70B1BC
square
#A170BC #BC7B70 #8BBC70 #70B1BC
split-complementary
#A170BC #B1BC70 #70BC7B
monochromatic
#623979 #844CA3 #A170BC #BC9AD0 #D8C3E3

Accessibility & contrast

On white

3.78
#A170BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A170BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170BC#FFFFFF#000000##000000
##A170BC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281BF
Deuteranopia (green-blind)
#6E84BA
Tritanopia (blue-blind)
#9F7B8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a170bc;
/* rgb */ color: rgb(161, 112, 188);
/* oklch */ color: oklch(62.4% 0.123 312.8);
Tailwind
colors: {
  custom: {
    50: '#be9ad0',
    500: '#a170bc',
    950: '#000000',
  },
}
SCSS
$custom: #a170bc;
$custom-light: #be9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a170bc",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 278.684,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62435,
    "c": 0.12266,
    "h": 312.8
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#A170BC
secondary
#C0D3B5
accent
#CC5C84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A170BC

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

Preview Lab → · Contrast checker → · Palette generator →

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