#A168EF#A168EF

#A168EF is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.197 H 300.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A168EF
RGBrgb(161, 104, 239)
HSLhsl(265, 81%, 67%)
HSVhsv(265, 56%, 94%)
CMYKcmyk(32.6%, 56.5%, 0%, 6.3%)
CIE-LABlab(55.80, 49.68, -59.91)
CIE-LCHlch(55.80, 77.83, 309.67°)
OKLaboklab(63.99% 0.0995 -0.1696)
OKLCHoklch(63.99% 0.197 300.4)
XYZxyz(35.2245, 23.7095, 84.3652)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168EF #B6EF68
analogous
#6873EF #A168EF #E468EF
triadic
#A168EF #EFA168 #68EFA1
tetradic
#A168EF #EF6873 #B6EF68 #68EFE4
square
#A168EF #EF6873 #B6EF68 #68EFE4
split-complementary
#A168EF #EFE468 #73EF68
monochromatic
#6015C7 #7F31E9 #A168EF #C39FF5 #E6D7FB

Accessibility & contrast

On white

3.66
#A168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168EF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168EF#FFFFFF#000000##000000
##A168EF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#9183A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a168ef;
/* rgb */ color: rgb(161, 104, 239);
/* oklch */ color: oklch(64.0% 0.197 300.4);
Tailwind
colors: {
  custom: {
    50: '#c195f5',
    500: '#a168ef',
    950: '#000000',
  },
}
SCSS
$custom: #a168ef;
$custom-light: #c195f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a168ef",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 265.333,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.19664,
    "h": 300.4
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#A168EF
secondary
#DDEFC4
accent
#DD0883
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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