#A168EB#A168EB

#A168EB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.7% C 0.192 H 301.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A168EB
RGBrgb(161, 104, 235)
HSLhsl(266, 77%, 66%)
HSVhsv(266, 56%, 92%)
CMYKcmyk(31.5%, 55.7%, 0%, 7.8%)
CIE-LABlab(55.56, 48.71, -58.06)
CIE-LCHlch(55.56, 75.78, 309.99°)
OKLaboklab(63.74% 0.0995 -0.1642)
OKLCHoklch(63.74% 0.192 301.2)
XYZxyz(34.6401, 23.4757, 81.2875)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168EB #B2EB68
analogous
#6871EB #A168EB #E368EB
triadic
#A168EB #EBA168 #68EBA1
tetradic
#A168EB #EB6871 #B2EB68 #68EBE3
square
#A168EB #EB6871 #B2EB68 #68EBE3
split-complementary
#A168EB #EBE368 #71EB68
monochromatic
#6219BF #7F32E4 #A168EB #C39EF2 #E4D4F9

Accessibility & contrast

On white

3.69
#A168EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A168EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168EB#FFFFFF#000000##000000
##A168EB1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#4684E8
Tritanopia (blue-blind)
#9282A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a168eb;
/* rgb */ color: rgb(161, 104, 235);
/* oklch */ color: oklch(63.7% 0.192 301.2);
Tailwind
colors: {
  custom: {
    50: '#c195f2',
    500: '#a168eb',
    950: '#000000',
  },
}
SCSS
$custom: #a168eb;
$custom-light: #c195f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a168eb",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 266.107,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63743,
    "c": 0.19194,
    "h": 301.2
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#A168EB
secondary
#DAEDC2
accent
#D90D80
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168EB

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

Preview Lab → · Contrast checker → · Palette generator →

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