#A170DF#A170DF

#A170DF is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.3% C 0.165 H 302.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A170DF
RGBrgb(161, 112, 223)
HSLhsl(266, 63%, 66%)
HSVhsv(266, 50%, 87%)
CMYKcmyk(27.8%, 49.8%, 0%, 12.5%)
CIE-LABlab(56.58, 41.43, -49.71)
CIE-LCHlch(56.58, 64.71, 309.81°)
OKLaboklab(64.28% 0.0886 -0.1397)
OKLCHoklch(64.28% 0.165 302.4)
XYZxyz(33.8084, 24.4931, 72.7442)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170DF #AEDF70
analogous
#7076DF #A170DF #D870DF
triadic
#A170DF #DFA170 #70DFA1
tetradic
#A170DF #DF7076 #AEDF70 #70DFD8
square
#A170DF #DF7076 #AEDF70 #70DFD8
split-complementary
#A170DF #DFD870 #76DF70
monochromatic
#6227AE #803ED4 #A170DF #C2A2EA #E3D4F5

Accessibility & contrast

On white

3.56
#A170DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#A170DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170DF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170DF#FFFFFF#000000##000000
##A170DF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#96849D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a170df;
/* rgb */ color: rgb(161, 112, 223);
/* oklch */ color: oklch(64.3% 0.165 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf9ae9',
    500: '#a170df',
    950: '#000000',
  },
}
SCSS
$custom: #a170df;
$custom-light: #bf9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a170df",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 266.486,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.16543,
    "h": 302.4
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#A170DF
secondary
#D8E8C3
accent
#CB1A7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A170DF

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

Preview Lab → · Contrast checker → · Palette generator →

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