#C168CD#C168CD

#C168CD is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.6% C 0.171 H 322.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#C168CD
RGBrgb(193, 104, 205)
HSLhsl(293, 50%, 61%)
HSVhsv(293, 49%, 80%)
CMYKcmyk(5.9%, 49.3%, 0%, 19.6%)
CIE-LABlab(57.70, 50.54, -37.53)
CIE-LCHlch(57.70, 62.95, 323.40°)
OKLaboklab(65.63% 0.136 -0.1036)
OKLCHoklch(65.63% 0.171 322.7)
XYZxyz(37.9609, 25.6476, 60.6967)
Luminance0.2565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168CD #74CD68
analogous
#8E68CD #C168CD #CD68A7
triadic
#C168CD #CDC168 #68CDC1
tetradic
#C168CD #CD8E68 #74CD68 #68A7CD
square
#C168CD #CD8E68 #74CD68 #68A7CD
split-complementary
#C168CD #A7CD68 #68CD8E
monochromatic
#812E8C #AB3EBA #C168CD #D496DC #E7C4EB

Accessibility & contrast

On white

3.43
#C168CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#C168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168CD#FFFFFF#000000##000000
##C168CD1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#C47591
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c168cd;
/* rgb */ color: rgb(193, 104, 205);
/* oklch */ color: oklch(65.6% 0.171 322.7);
Tailwind
colors: {
  custom: {
    50: '#d696dc',
    500: '#c168cd',
    950: '#000000',
  },
}
SCSS
$custom: #c168cd;
$custom-light: #d696dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c168cd",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 292.871,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6563,
    "c": 0.17097,
    "h": 322.7
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#C168CD
secondary
#BADCB5
accent
#BE283A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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