#A168CD#A168CD

#A168CD is a mid, vivid violet. Relative luminance 0.219; OKLCH L 62.0% C 0.156 H 308.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A168CD
RGBrgb(161, 104, 205)
HSLhsl(274, 50%, 61%)
HSVhsv(274, 49%, 80%)
CMYKcmyk(21.5%, 49.3%, 0%, 19.6%)
CIE-LABlab(53.91, 41.61, -43.76)
CIE-LCHlch(53.91, 60.39, 313.56°)
OKLaboklab(61.99% 0.0975 -0.1224)
OKLCHoklch(61.99% 0.156 308.6)
XYZxyz(30.6656, 21.8859, 60.3547)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A168CD #94CD68
analogous
#6E68CD #A168CD #CD68C7
triadic
#A168CD #CDA168 #68CDA1
tetradic
#A168CD #CD6E68 #94CD68 #68C7CD
square
#A168CD #CD6E68 #94CD68 #68C7CD
split-complementary
#A168CD #C7CD68 #68CD6E
monochromatic
#632E8C #843EBA #A168CD #BE96DC #DAC4EB

Accessibility & contrast

On white

3.91
#A168CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#A168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A168CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A168CD#FFFFFF#000000##000000
##A168CD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#9B7991
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a168cd;
/* rgb */ color: rgb(161, 104, 205);
/* oklch */ color: oklch(62.0% 0.156 308.6);
Tailwind
colors: {
  custom: {
    50: '#bf95dd',
    500: '#a168cd',
    950: '#000000',
  },
}
SCSS
$custom: #a168cd;
$custom-light: #bf95dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a168cd",
  "rgb": {
    "r": 161,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 273.861,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.15649,
    "h": 308.6
  },
  "luminance": 0.21885
}

Semantic roles & 50–950 ramp

primary
#A168CD
secondary
#C6DCB5
accent
#BE2869
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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