#A170DB#A170DB

#A170DB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.1% C 0.161 H 303.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A170DB
RGBrgb(161, 112, 219)
HSLhsl(267, 60%, 65%)
HSVhsv(267, 49%, 86%)
CMYKcmyk(26.5%, 48.9%, 0%, 14.1%)
CIE-LABlab(56.37, 40.47, -47.79)
CIE-LCHlch(56.37, 62.63, 310.26°)
OKLaboklab(64.05% 0.0882 -0.1341)
OKLCHoklch(64.05% 0.161 303.3)
XYZxyz(33.2755, 24.2799, 69.9376)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A170DB #AADB70
analogous
#7074DB #A170DB #D770DB
triadic
#A170DB #DBA170 #70DBA1
tetradic
#A170DB #DB7074 #AADB70 #70DBD7
square
#A170DB #DB7074 #AADB70 #70DBD7
split-complementary
#A170DB #DBD770 #74DB70
monochromatic
#632AA7 #813FCF #A170DB #C1A1E7 #E1D2F4

Accessibility & contrast

On white

3.59
#A170DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A170DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A170DB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A170DB#FFFFFF#000000##000000
##A170DB1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#5D87D8
Tritanopia (blue-blind)
#97839B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a170db;
/* rgb */ color: rgb(161, 112, 219);
/* oklch */ color: oklch(64.1% 0.161 303.3);
Tailwind
colors: {
  custom: {
    50: '#bf9ae6',
    500: '#a170db',
    950: '#000000',
  },
}
SCSS
$custom: #a170db;
$custom-light: #bf9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a170db",
  "rgb": {
    "r": 161,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 267.477,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.16052,
    "h": 303.3
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#A170DB
secondary
#D5E6C1
accent
#C71E7A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A170DB

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

Preview Lab → · Contrast checker → · Palette generator →

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