#A168DD#A168DD

#A168DD is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.9% C 0.175 H 304.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A168DD
RGBrgb(161, 104, 221)
HSLhsl(269, 63%, 64%)
HSVhsv(269, 53%, 87%)
CMYKcmyk(27.1%, 52.9%, 0%, 13.3%)
CIE-LABlab(54.76, 45.34, -51.47)
CIE-LCHlch(54.76, 68.60, 311.38°)
OKLaboklab(62.9% 0.0989 -0.1449)
OKLCHoklch(62.9% 0.175 304.3)
XYZxyz(32.6966, 22.6983, 71.0513)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168DD #A4DD68
analogous
#6869DD #A168DD #DB68DD
triadic
#A168DD #DDA168 #68DDA1
tetradic
#A168DD #DD6869 #A4DD68 #68DDDB
square
#A168DD #DD6869 #A4DD68 #68DDDB
split-complementary
#A168DD #DDDB68 #69DD68
monochromatic
#6425A5 #8236D2 #A168DD #C09AE8 #DFCCF3

Accessibility & contrast

On white

3.79
#A168DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A168DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168DD#FFFFFF#000000##000000
##A168DD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E1
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#977E99
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a168dd;
/* rgb */ color: rgb(161, 104, 221);
/* oklch */ color: oklch(62.9% 0.175 304.3);
Tailwind
colors: {
  custom: {
    50: '#c095e8',
    500: '#a168dd',
    950: '#000000',
  },
}
SCSS
$custom: #a168dd;
$custom-light: #c095e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a168dd",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 269.231,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.17542,
    "h": 304.3
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#A168DD
secondary
#D1E5BC
accent
#CB1A75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A168DD

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

Preview Lab → · Contrast checker → · Palette generator →

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