#C168CA#C168CA

#C168CA is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.5% C 0.168 H 323.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#C168CA
RGBrgb(193, 104, 202)
HSLhsl(294, 48%, 60%)
HSVhsv(294, 49%, 79%)
CMYKcmyk(4.5%, 48.5%, 0%, 20.8%)
CIE-LABlab(57.56, 49.97, -36.04)
CIE-LCHlch(57.56, 61.61, 324.20°)
OKLaboklab(65.48% 0.1356 -0.0993)
OKLCHoklch(65.48% 0.168 323.8)
XYZxyz(37.6023, 25.5041, 58.8078)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168CA #71CA68
analogous
#9068CA #C168CA #CA68A2
triadic
#C168CA #CAC168 #68CAC1
tetradic
#C168CA #CA9068 #71CA68 #68A2CA
square
#C168CA #CA9068 #71CA68 #68A2CA
split-complementary
#C168CA #A2CA68 #68CA90
monochromatic
#803088 #AA40B5 #C168CA #D495DA #E6C3EA

Accessibility & contrast

On white

3.44
#C168CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#C168CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168CA#FFFFFF#000000##000000
##C168CA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#C47490
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c168ca;
/* rgb */ color: rgb(193, 104, 202);
/* oklch */ color: oklch(65.5% 0.168 323.8);
Tailwind
colors: {
  custom: {
    50: '#d696da',
    500: '#c168ca',
    950: '#000000',
  },
}
SCSS
$custom: #c168ca;
$custom-light: #d696da;
$custom-dark: #000000;
JSON
{
  "hex": "#c168ca",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 294.49,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.16806,
    "h": 323.8
  },
  "luminance": 0.25502
}

Semantic roles & 50–950 ramp

primary
#C168CA
secondary
#B7DAB4
accent
#D8505D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C168CA

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

Preview Lab → · Contrast checker → · Palette generator →

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