#A168CF#A168CF

#A168CF is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.159 H 308.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A168CF
RGBrgb(161, 104, 207)
HSLhsl(273, 52%, 61%)
HSVhsv(273, 50%, 81%)
CMYKcmyk(22.2%, 49.8%, 0%, 18.8%)
CIE-LABlab(54.01, 42.07, -44.74)
CIE-LCHlch(54.01, 61.41, 313.24°)
OKLaboklab(62.1% 0.0978 -0.1252)
OKLCHoklch(62.1% 0.159 308)
XYZxyz(30.9085, 21.9831, 61.6343)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168CF #96CF68
analogous
#6D68CF #A168CF #CF68C9
triadic
#A168CF #CFA168 #68CFA1
tetradic
#A168CF #CF6D68 #96CF68 #68C9CF
square
#A168CF #CF6D68 #96CF68 #68C9CF
split-complementary
#A168CF #C9CF68 #68CF6D
monochromatic
#642D8F #843CBE #A168CF #BE96DE #DBC5ED

Accessibility & contrast

On white

3.89
#A168CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A168CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168CF#FFFFFF#000000##000000
##A168CF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#5C82CC
Tritanopia (blue-blind)
#9A7A92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a168cf;
/* rgb */ color: rgb(161, 104, 207);
/* oklch */ color: oklch(62.1% 0.159 308.0);
Tailwind
colors: {
  custom: {
    50: '#bf95de',
    500: '#a168cf',
    950: '#000000',
  },
}
SCSS
$custom: #a168cf;
$custom-light: #bf95de;
$custom-dark: #000000;
JSON
{
  "hex": "#a168cf",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 273.204,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.15885,
    "h": 308
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

primary
#A168CF
secondary
#C7DDB6
accent
#BF266B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A168CF

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

Preview Lab → · Contrast checker → · Palette generator →

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