#A168CA#A168CA

#A168CA is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.153 H 309.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A168CA
RGBrgb(161, 104, 202)
HSLhsl(275, 48%, 60%)
HSVhsv(275, 49%, 79%)
CMYKcmyk(20.3%, 48.5%, 0%, 20.8%)
CIE-LABlab(53.75, 40.93, -42.30)
CIE-LCHlch(53.75, 58.86, 314.06°)
OKLaboklab(61.82% 0.0972 -0.1181)
OKLCHoklch(61.82% 0.153 309.5)
XYZxyz(30.3069, 21.7424, 58.4658)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168CA #91CA68
analogous
#7068CA #A168CA #CA68C2
triadic
#A168CA #CAA168 #68CAA1
tetradic
#A168CA #CA7068 #91CA68 #68C2CA
square
#A168CA #CA7068 #91CA68 #68C2CA
split-complementary
#A168CA #C2CA68 #68CA70
monochromatic
#633088 #8440B5 #A168CA #BD95DA #D9C3EA

Accessibility & contrast

On white

3.93
#A168CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A168CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168CA#FFFFFF#000000##000000
##A168CA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#9C7890
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a168ca;
/* rgb */ color: rgb(161, 104, 202);
/* oklch */ color: oklch(61.8% 0.153 309.5);
Tailwind
colors: {
  custom: {
    50: '#bf95da',
    500: '#a168ca',
    950: '#000000',
  },
}
SCSS
$custom: #a168ca;
$custom-light: #bf95da;
$custom-dark: #000000;
JSON
{
  "hex": "#a168ca",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 274.898,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.15295,
    "h": 309.5
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#A168CA
secondary
#C4DAB4
accent
#D85089
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A168CA

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

Preview Lab → · Contrast checker → · Palette generator →

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