#A168DC#A168DC

#A168DC is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.8% C 0.174 H 304.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A168DC
RGBrgb(161, 104, 220)
HSLhsl(269, 62%, 64%)
HSVhsv(269, 53%, 86%)
CMYKcmyk(26.8%, 52.7%, 0%, 13.7%)
CIE-LABlab(54.70, 45.10, -51.00)
CIE-LCHlch(54.70, 68.08, 311.49°)
OKLaboklab(62.84% 0.0988 -0.1435)
OKLCHoklch(62.84% 0.174 304.6)
XYZxyz(32.5637, 22.6452, 70.3517)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168DC #A3DC68
analogous
#6869DC #A168DC #DB68DC
triadic
#A168DC #DCA168 #68DCA1
tetradic
#A168DC #DC6869 #A3DC68 #68DCDB
square
#A168DC #DC6869 #A3DC68 #68DCDB
split-complementary
#A168DC #DCDB68 #69DC68
monochromatic
#6426A4 #8236D0 #A168DC #C09AE8 #DFCBF3

Accessibility & contrast

On white

3.80
#A168DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A168DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168DC#FFFFFF#000000##000000
##A168DC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#977D98
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a168dc;
/* rgb */ color: rgb(161, 104, 220);
/* oklch */ color: oklch(62.8% 0.174 304.6);
Tailwind
colors: {
  custom: {
    50: '#c095e7',
    500: '#a168dc',
    950: '#000000',
  },
}
SCSS
$custom: #a168dc;
$custom-light: #c095e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a168dc",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 269.483,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.17423,
    "h": 304.6
  },
  "luminance": 0.22645
}

Semantic roles & 50–950 ramp

primary
#A168DC
secondary
#D0E4BB
accent
#CA1B74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A168DC

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

Preview Lab → · Contrast checker → · Palette generator →

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