#A168E8#A168E8

#A168E8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.188 H 301.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A168E8
RGBrgb(161, 104, 232)
HSLhsl(267, 74%, 66%)
HSVhsv(267, 55%, 91%)
CMYKcmyk(30.6%, 55.2%, 0%, 9%)
CIE-LABlab(55.38, 47.98, -56.66)
CIE-LCHlch(55.38, 74.24, 310.26°)
OKLaboklab(63.56% 0.0994 -0.1601)
OKLCHoklch(63.56% 0.188 301.8)
XYZxyz(34.2104, 23.3038, 79.0241)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168E8 #AFE868
analogous
#686FE8 #A168E8 #E168E8
triadic
#A168E8 #E8A168 #68E8A1
tetradic
#A168E8 #E8686F #AFE868 #68E8E1
square
#A168E8 #E8686F #AFE868 #68E8E1
split-complementary
#A168E8 #E8E168 #6FE868
monochromatic
#621CB9 #8033E0 #A168E8 #C29DF0 #E3D2F8

Accessibility & contrast

On white

3.71
#A168E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A168E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168E8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168E8#FFFFFF#000000##000000
##A168E81.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#93819E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a168e8;
/* rgb */ color: rgb(161, 104, 232);
/* oklch */ color: oklch(63.6% 0.188 301.8);
Tailwind
colors: {
  custom: {
    50: '#c095f0',
    500: '#a168e8',
    950: '#000000',
  },
}
SCSS
$custom: #a168e8;
$custom-light: #c095f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a168e8",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 266.719,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.18841,
    "h": 301.8
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#A168E8
secondary
#D8EBC1
accent
#D6107E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A168E8

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

Preview Lab → · Contrast checker → · Palette generator →

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