#A170BB#A170BB

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

Color values

HEX#A170BB
RGBrgb(161, 112, 187)
HSLhsl(279, 36%, 59%)
HSVhsv(279, 40%, 73%)
CMYKcmyk(13.9%, 40.1%, 0%, 26.7%)
CIE-LABlab(54.82, 33.13, -32.04)
CIE-LCHlch(54.82, 46.09, 315.96°)
OKLaboklab(62.39% 0.0832 -0.0885)
OKLCHoklch(62.39% 0.121 313.2)
XYZxyz(29.4603, 22.7538, 49.8441)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170BB #8ABB70
analogous
#7B70BB #A170BB #BB70AF
triadic
#A170BB #BBA170 #70BBA1
tetradic
#A170BB #BB7B70 #8ABB70 #70AFBB
square
#A170BB #BB7B70 #8ABB70 #70AFBB
split-complementary
#A170BB #AFBB70 #70BB7B
monochromatic
#623978 #844DA1 #A170BB #BC99CF #D8C3E2

Accessibility & contrast

On white

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

On black

5.55
#A170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170BB#FFFFFF#000000##000000
##A170BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#6E84B9
Tritanopia (blue-blind)
#9F7A8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a170bb;
/* rgb */ color: rgb(161, 112, 187);
/* oklch */ color: oklch(62.4% 0.121 313.2);
Tailwind
colors: {
  custom: {
    50: '#be9acf',
    500: '#a170bb',
    950: '#000000',
  },
}
SCSS
$custom: #a170bb;
$custom-light: #be9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a170bb",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 279.2,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.12146,
    "h": 313.2
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#A170BB
secondary
#BFD2B5
accent
#CC5C83
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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