#A168E7#A168E7

#A168E7 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.187 H 302.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A168E7
RGBrgb(161, 104, 231)
HSLhsl(267, 73%, 66%)
HSVhsv(267, 55%, 91%)
CMYKcmyk(30.3%, 55%, 0%, 9.4%)
CIE-LABlab(55.33, 47.74, -56.19)
CIE-LCHlch(55.33, 73.73, 310.35°)
OKLaboklab(63.5% 0.0994 -0.1587)
OKLCHoklch(63.5% 0.187 302.1)
XYZxyz(34.0687, 23.2472, 78.2781)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168E7 #AEE768
analogous
#686EE7 #A168E7 #E068E7
triadic
#A168E7 #E7A168 #68E7A1
tetradic
#A168E7 #E7686E #AEE768 #68E7E0
square
#A168E7 #E7686E #AEE768 #68E7E0
split-complementary
#A168E7 #E7E068 #6EE768
monochromatic
#621DB7 #8033DF #A168E7 #C29DEF #E3D2F8

Accessibility & contrast

On white

3.72
#A168E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A168E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168E7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168E7#FFFFFF#000000##000000
##A168E71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#4A84E4
Tritanopia (blue-blind)
#94819E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a168e7;
/* rgb */ color: rgb(161, 104, 231);
/* oklch */ color: oklch(63.5% 0.187 302.1);
Tailwind
colors: {
  custom: {
    50: '#c095ef',
    500: '#a168e7',
    950: '#000000',
  },
}
SCSS
$custom: #a168e7;
$custom-light: #c095ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a168e7",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 266.929,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63496,
    "c": 0.18723,
    "h": 302.1
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#A168E7
secondary
#D8EBC0
accent
#D5117D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A168E7

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

Preview Lab → · Contrast checker → · Palette generator →

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