#C168CF#C168CF

#C168CF is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.7% C 0.173 H 322.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#C168CF
RGBrgb(193, 104, 207)
HSLhsl(292, 52%, 61%)
HSVhsv(292, 50%, 81%)
CMYKcmyk(6.8%, 49.8%, 0%, 18.8%)
CIE-LABlab(57.79, 50.92, -38.52)
CIE-LCHlch(57.79, 63.85, 322.90°)
OKLaboklab(65.73% 0.1363 -0.1064)
OKLCHoklch(65.73% 0.173 322)
XYZxyz(38.2039, 25.7447, 61.9762)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168CF #76CF68
analogous
#8D68CF #C168CF #CF68A9
triadic
#C168CF #CFC168 #68CFC1
tetradic
#C168CF #CF8D68 #76CF68 #68A9CF
square
#C168CF #CF8D68 #76CF68 #68A9CF
split-complementary
#C168CF #A9CF68 #68CF8D
monochromatic
#822D8F #AC3CBE #C168CF #D496DE #E7C5ED

Accessibility & contrast

On white

3.42
#C168CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#C168CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168CF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168CF#FFFFFF#000000##000000
##C168CF1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#C37592
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c168cf;
/* rgb */ color: rgb(193, 104, 207);
/* oklch */ color: oklch(65.7% 0.173 322.0);
Tailwind
colors: {
  custom: {
    50: '#d696de',
    500: '#c168cf',
    950: '#000000',
  },
}
SCSS
$custom: #c168cf;
$custom-light: #d696de;
$custom-dark: #000000;
JSON
{
  "hex": "#c168cf",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 291.845,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.17293,
    "h": 322
  },
  "luminance": 0.25743
}

Semantic roles & 50–950 ramp

primary
#C168CF
secondary
#BBDDB6
accent
#BF263B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C168CF

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

Preview Lab → · Contrast checker → · Palette generator →

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