#A170BF#A170BF

#A170BF is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.126 H 311.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A170BF
RGBrgb(161, 112, 191)
HSLhsl(277, 38%, 59%)
HSVhsv(277, 41%, 75%)
CMYKcmyk(15.7%, 41.4%, 0%, 25.1%)
CIE-LABlab(55.00, 34.01, -34.05)
CIE-LCHlch(55.00, 48.13, 314.96°)
OKLaboklab(62.58% 0.084 -0.0943)
OKLCHoklch(62.58% 0.126 311.7)
XYZxyz(29.8944, 22.9275, 52.1307)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170BF #8EBF70
analogous
#7A70BF #A170BF #BF70B6
triadic
#A170BF #BFA170 #70BFA1
tetradic
#A170BF #BF7A70 #8EBF70 #70B6BF
square
#A170BF #BF7A70 #8EBF70 #70B6BF
split-complementary
#A170BF #B6BF70 #70BF7A
monochromatic
#63387D #844BA7 #A170BF #BD9AD2 #D9C5E5

Accessibility & contrast

On white

3.76
#A170BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A170BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170BF#FFFFFF#000000##000000
##A170BF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#9E7B8E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a170bf;
/* rgb */ color: rgb(161, 112, 191);
/* oklch */ color: oklch(62.6% 0.126 311.7);
Tailwind
colors: {
  custom: {
    50: '#be9ad2',
    500: '#a170bf',
    950: '#000000',
  },
}
SCSS
$custom: #a170bf;
$custom-light: #be9ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a170bf",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 277.215,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.12627,
    "h": 311.7
  },
  "luminance": 0.22927
}

Semantic roles & 50–950 ramp

primary
#A170BF
secondary
#C2D5B6
accent
#CE5A86
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A170BF

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

Preview Lab → · Contrast checker → · Palette generator →

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