#C170CA#C170CA

#C170CA is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.7% C 0.155 H 323.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#C170CA
RGBrgb(193, 112, 202)
HSLhsl(294, 46%, 62%)
HSVhsv(294, 45%, 79%)
CMYKcmyk(4.5%, 44.6%, 0%, 20.8%)
CIE-LABlab(59.15, 45.85, -33.56)
CIE-LCHlch(59.15, 56.82, 323.80°)
OKLaboklab(66.66% 0.1242 -0.0922)
OKLCHoklch(66.66% 0.155 323.4)
XYZxyz(38.4461, 27.1917, 59.0890)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170CA #79CA70
analogous
#9470CA #C170CA #CA70A6
triadic
#C170CA #CAC170 #70CAC1
tetradic
#C170CA #CA9470 #79CA70 #70A6CA
square
#C170CA #CA9470 #79CA70 #70A6CA
split-complementary
#C170CA #A6CA70 #70CA94
monochromatic
#83348C #AD44B8 #C170CA #D49DDB #E8C9EB

Accessibility & contrast

On white

3.26
#C170CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#C170CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170CA#FFFFFF#000000##000000
##C170CA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#C47A94
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c170ca;
/* rgb */ color: rgb(193, 112, 202);
/* oklch */ color: oklch(66.7% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#d59bda',
    500: '#c170ca',
    950: '#000000',
  },
}
SCSS
$custom: #c170ca;
$custom-light: #d59bda;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ca",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 294,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.15473,
    "h": 323.4
  },
  "luminance": 0.2719
}

Semantic roles & 50–950 ramp

primary
#C170CA
secondary
#BEDCBA
accent
#B92C3A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C170CA

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

Preview Lab → · Contrast checker → · Palette generator →

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