#C168DA#C168DA

#C168DA is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.3% C 0.184 H 318.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#C168DA
RGBrgb(193, 104, 218)
HSLhsl(287, 61%, 63%)
HSVhsv(287, 52%, 85%)
CMYKcmyk(11.5%, 52.3%, 0%, 14.5%)
CIE-LABlab(58.32, 53.07, -43.90)
CIE-LCHlch(58.32, 68.88, 320.40°)
OKLaboklab(66.29% 0.1376 -0.122)
OKLCHoklch(66.29% 0.184 318.5)
XYZxyz(39.5958, 26.3015, 69.3070)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168DA #81DA68
analogous
#8868DA #C168DA #DA68BA
triadic
#C168DA #DAC168 #68DAC1
tetradic
#C168DA #DA8868 #81DA68 #68BADA
square
#C168DA #DA8868 #81DA68 #68BADA
split-complementary
#C168DA #BADA68 #68DA88
monochromatic
#8627A0 #AD37CE #C168DA #D599E6 #E9CAF2

Accessibility & contrast

On white

3.35
#C168DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#C168DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168DA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168DA#FFFFFF#000000##000000
##C168DA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5186DE
Deuteranopia (green-blind)
#6E8FD7
Tritanopia (blue-blind)
#C17997
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c168da;
/* rgb */ color: rgb(193, 104, 218);
/* oklch */ color: oklch(66.3% 0.184 318.5);
Tailwind
colors: {
  custom: {
    50: '#d696e6',
    500: '#c168da',
    950: '#000000',
  },
}
SCSS
$custom: #c168da;
$custom-light: #d696e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c168da",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 286.842,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.1839,
    "h": 318.5
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#C168DA
secondary
#C3E3BA
accent
#C81D43
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C168DA

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

Preview Lab → · Contrast checker → · Palette generator →

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