#A168EC#A168EC

#A168EC is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.193 H 301.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A168EC
RGBrgb(161, 104, 236)
HSLhsl(266, 78%, 67%)
HSVhsv(266, 56%, 93%)
CMYKcmyk(31.8%, 55.9%, 0%, 7.5%)
CIE-LABlab(55.62, 48.95, -58.52)
CIE-LCHlch(55.62, 76.29, 309.91°)
OKLaboklab(63.81% 0.0995 -0.1655)
OKLCHoklch(63.81% 0.193 301)
XYZxyz(34.7850, 23.5337, 82.0505)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168EC #B3EC68
analogous
#6871EC #A168EC #E368EC
triadic
#A168EC #ECA168 #68ECA1
tetradic
#A168EC #EC6871 #B3EC68 #68ECE3
square
#A168EC #EC6871 #B3EC68 #68ECE3
split-complementary
#A168EC #ECE368 #71EC68
monochromatic
#6118C1 #7F32E5 #A168EC #C39EF3 #E5D5FA

Accessibility & contrast

On white

3.68
#A168EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A168EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168EC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168EC#FFFFFF#000000##000000
##A168EC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#9282A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a168ec;
/* rgb */ color: rgb(161, 104, 236);
/* oklch */ color: oklch(63.8% 0.193 301.0);
Tailwind
colors: {
  custom: {
    50: '#c195f3',
    500: '#a168ec',
    950: '#000000',
  },
}
SCSS
$custom: #a168ec;
$custom-light: #c195f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a168ec",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 265.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.19312,
    "h": 301
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#A168EC
secondary
#DBEDC3
accent
#DA0C81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168EC

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

Preview Lab → · Contrast checker → · Palette generator →

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