#A170BD#A170BD

#A170BD is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.5% C 0.124 H 312.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A170BD
RGBrgb(161, 112, 189)
HSLhsl(278, 37%, 59%)
HSVhsv(278, 41%, 74%)
CMYKcmyk(14.8%, 40.7%, 0%, 25.9%)
CIE-LABlab(54.91, 33.57, -33.05)
CIE-LCHlch(54.91, 47.11, 315.45°)
OKLaboklab(62.48% 0.0836 -0.0914)
OKLCHoklch(62.48% 0.124 312.5)
XYZxyz(29.6759, 22.8401, 50.9795)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170BD #8CBD70
analogous
#7B70BD #A170BD #BD70B3
triadic
#A170BD #BDA170 #70BDA1
tetradic
#A170BD #BD7B70 #8CBD70 #70B3BD
square
#A170BD #BD7B70 #8CBD70 #70B3BD
split-complementary
#A170BD #B3BD70 #70BD7B
monochromatic
#62387A #844CA4 #A170BD #BD9AD0 #D8C4E4

Accessibility & contrast

On white

3.77
#A170BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A170BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170BD#FFFFFF#000000##000000
##A170BD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#6D85BB
Tritanopia (blue-blind)
#9E7B8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a170bd;
/* rgb */ color: rgb(161, 112, 189);
/* oklch */ color: oklch(62.5% 0.124 312.5);
Tailwind
colors: {
  custom: {
    50: '#be9ad1',
    500: '#a170bd',
    950: '#000000',
  },
}
SCSS
$custom: #a170bd;
$custom-light: #be9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#a170bd",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 278.182,
    "s": 36.842,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62484,
    "c": 0.12386,
    "h": 312.5
  },
  "luminance": 0.2284
}

Semantic roles & 50–950 ramp

primary
#A170BD
secondary
#C0D4B5
accent
#CD5B84
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A170BD

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

Preview Lab → · Contrast checker → · Palette generator →

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