#A170CD#A170CD

#A170CD is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.143 H 307.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A170CD
RGBrgb(161, 112, 205)
HSLhsl(272, 48%, 62%)
HSVhsv(272, 45%, 80%)
CMYKcmyk(21.5%, 45.4%, 0%, 19.6%)
CIE-LABlab(55.66, 37.18, -41.00)
CIE-LCHlch(55.66, 55.34, 312.20°)
OKLaboklab(63.29% 0.0864 -0.1144)
OKLCHoklch(63.29% 0.143 307.1)
XYZxyz(31.5094, 23.5735, 60.6360)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170CD #9CCD70
analogous
#7370CD #A170CD #CD70CB
triadic
#A170CD #CDA170 #70CDA1
tetradic
#A170CD #CD7370 #9CCD70 #70CBCD
square
#A170CD #CD7370 #9CCD70 #70CBCD
split-complementary
#A170CD #CBCD70 #70CD73
monochromatic
#643290 #8343BD #A170CD #BF9DDD #DDCBED

Accessibility & contrast

On white

3.67
#A170CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A170CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170CD#FFFFFF#000000##000000
##A170CD1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#9B7F95
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a170cd;
/* rgb */ color: rgb(161, 112, 205);
/* oklch */ color: oklch(63.3% 0.143 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf9adc',
    500: '#a170cd',
    950: '#000000',
  },
}
SCSS
$custom: #a170cd;
$custom-light: #bf9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a170cd",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 271.613,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.14333,
    "h": 307.1
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#A170CD
secondary
#CBDDBB
accent
#BB2A6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A170CD

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

Preview Lab → · Contrast checker → · Palette generator →

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