#C168DF#C168DF

#C168DF is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.6% C 0.189 H 317.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#C168DF
RGBrgb(193, 104, 223)
HSLhsl(285, 65%, 64%)
HSVhsv(285, 53%, 87%)
CMYKcmyk(13.5%, 53.4%, 0%, 12.5%)
CIE-LABlab(58.57, 54.08, -46.32)
CIE-LCHlch(58.57, 71.20, 319.42°)
OKLaboklab(66.56% 0.1381 -0.129)
OKLCHoklch(66.56% 0.189 317)
XYZxyz(40.2600, 26.5672, 72.8050)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168DF #86DF68
analogous
#8668DF #C168DF #DF68C2
triadic
#C168DF #DFC168 #68DFC1
tetradic
#C168DF #DF8668 #86DF68 #68C2DF
square
#C168DF #DF8668 #86DF68 #68C2DF
split-complementary
#C168DF #C2DF68 #68DF86
monochromatic
#8724A9 #AC36D4 #C168DF #D69BEA #EACDF4

Accessibility & contrast

On white

3.33
#C168DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#C168DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168DF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168DF#FFFFFF#000000##000000
##C168DF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#C07A9A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c168df;
/* rgb */ color: rgb(193, 104, 223);
/* oklch */ color: oklch(66.6% 0.189 317.0);
Tailwind
colors: {
  custom: {
    50: '#d696e9',
    500: '#c168df',
    950: '#000000',
  },
}
SCSS
$custom: #c168df;
$custom-light: #d696e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c168df",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 284.874,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.18897,
    "h": 317
  },
  "luminance": 0.26566
}

Semantic roles & 50–950 ramp

primary
#C168DF
secondary
#C7E6BD
accent
#CD1946
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C168DF

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

Preview Lab → · Contrast checker → · Palette generator →

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