#A170DE#A170DE

#A170DE is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.164 H 302.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A170DE
RGBrgb(161, 112, 222)
HSLhsl(267, 63%, 65%)
HSVhsv(267, 50%, 87%)
CMYKcmyk(27.5%, 49.5%, 0%, 12.9%)
CIE-LABlab(56.52, 41.19, -49.23)
CIE-LCHlch(56.52, 64.19, 309.92°)
OKLaboklab(64.22% 0.0885 -0.1383)
OKLCHoklch(64.22% 0.164 302.6)
XYZxyz(33.6740, 24.4393, 72.0363)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170DE #ADDE70
analogous
#7076DE #A170DE #D870DE
triadic
#A170DE #DEA170 #70DEA1
tetradic
#A170DE #DE7076 #ADDE70 #70DED8
square
#A170DE #DE7076 #ADDE70 #70DED8
split-complementary
#A170DE #DED870 #76DE70
monochromatic
#6328AC #803ED3 #A170DE #C2A2E9 #E2D3F5

Accessibility & contrast

On white

3.57
#A170DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A170DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170DE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170DE#FFFFFF#000000##000000
##A170DE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a170de;
/* rgb */ color: rgb(161, 112, 222);
/* oklch */ color: oklch(64.2% 0.164 302.6);
Tailwind
colors: {
  custom: {
    50: '#bf9ae9',
    500: '#a170de',
    950: '#000000',
  },
}
SCSS
$custom: #a170de;
$custom-light: #bf9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a170de",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 266.727,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.16421,
    "h": 302.6
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#A170DE
secondary
#D7E7C2
accent
#CA1B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A170DE

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

Preview Lab → · Contrast checker → · Palette generator →

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