#A170BA#A170BA

#A170BA is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.3% C 0.120 H 313.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A170BA
RGBrgb(161, 112, 186)
HSLhsl(280, 35%, 58%)
HSVhsv(280, 40%, 73%)
CMYKcmyk(13.4%, 39.8%, 0%, 27.1%)
CIE-LABlab(54.77, 32.91, -31.53)
CIE-LCHlch(54.77, 45.58, 316.22°)
OKLaboklab(62.34% 0.083 -0.087)
OKLCHoklch(62.34% 0.12 313.6)
XYZxyz(29.3536, 22.7112, 49.2822)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170BA #89BA70
analogous
#7C70BA #A170BA #BA70AE
triadic
#A170BA #BAA170 #70BAA1
tetradic
#A170BA #BA7C70 #89BA70 #70AEBA
square
#A170BA #BA7C70 #89BA70 #70AEBA
split-complementary
#A170BA #AEBA70 #70BA7C
monochromatic
#623976 #844DA0 #A170BA #BC99CE #D7C3E2

Accessibility & contrast

On white

3.79
#A170BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A170BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170BA#FFFFFF#000000##000000
##A170BA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#6F84B8
Tritanopia (blue-blind)
#9F7A8C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a170ba;
/* rgb */ color: rgb(161, 112, 186);
/* oklch */ color: oklch(62.3% 0.120 313.6);
Tailwind
colors: {
  custom: {
    50: '#be9acf',
    500: '#a170ba',
    950: '#000000',
  },
}
SCSS
$custom: #a170ba;
$custom-light: #be9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a170ba",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 279.73,
    "s": 34.906,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62339,
    "c": 0.12026,
    "h": 313.6
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#A170BA
secondary
#BED2B4
accent
#CB5D82
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A170BA

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

Preview Lab → · Contrast checker → · Palette generator →

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