#C168DD#C168DD

#C168DD is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.5% C 0.187 H 317.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#C168DD
RGBrgb(193, 104, 221)
HSLhsl(286, 63%, 64%)
HSVhsv(286, 53%, 87%)
CMYKcmyk(12.7%, 52.9%, 0%, 13.3%)
CIE-LABlab(58.47, 53.67, -45.35)
CIE-LCHlch(58.47, 70.27, 319.80°)
OKLaboklab(66.45% 0.1379 -0.1262)
OKLCHoklch(66.45% 0.187 317.5)
XYZxyz(39.9919, 26.4600, 71.3933)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168DD #84DD68
analogous
#8668DD #C168DD #DD68BE
triadic
#C168DD #DDC168 #68DDC1
tetradic
#C168DD #DD8668 #84DD68 #68BEDD
square
#C168DD #DD8668 #84DD68 #68BEDD
split-complementary
#C168DD #BEDD68 #68DD86
monochromatic
#8725A5 #AC36D2 #C168DD #D69AE8 #EACCF3

Accessibility & contrast

On white

3.34
#C168DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#C168DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168DD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168DD#FFFFFF#000000##000000
##C168DD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#C07A99
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c168dd;
/* rgb */ color: rgb(193, 104, 221);
/* oklch */ color: oklch(66.5% 0.187 317.5);
Tailwind
colors: {
  custom: {
    50: '#d696e8',
    500: '#c168dd',
    950: '#000000',
  },
}
SCSS
$custom: #c168dd;
$custom-light: #d696e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c168dd",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 285.641,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6645,
    "c": 0.18694,
    "h": 317.5
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#C168DD
secondary
#C6E5BC
accent
#CB1A45
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C168DD

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

Preview Lab → · Contrast checker → · Palette generator →

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