#C170DA#C170DA

#C170DA is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.4% C 0.171 H 317.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#C170DA
RGBrgb(193, 112, 218)
HSLhsl(286, 59%, 65%)
HSVhsv(286, 49%, 85%)
CMYKcmyk(11.5%, 48.6%, 0%, 14.5%)
CIE-LABlab(59.88, 49.00, -41.45)
CIE-LCHlch(59.88, 64.18, 319.77°)
OKLaboklab(67.44% 0.1268 -0.1149)
OKLCHoklch(67.44% 0.171 317.8)
XYZxyz(40.4396, 27.9891, 69.5883)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170DA #89DA70
analogous
#8C70DA #C170DA #DA70BE
triadic
#C170DA #DAC170 #70DAC1
tetradic
#C170DA #DA8C70 #89DA70 #70BEDA
square
#C170DA #DA8C70 #89DA70 #70BEDA
split-complementary
#C170DA #BEDA70 #70DA8C
monochromatic
#882BA5 #AC3FCD #C170DA #D6A1E7 #EBD1F3

Accessibility & contrast

On white

3.18
#C170DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#C170DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170DA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170DA#FFFFFF#000000##000000
##C170DA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDE
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#C17F9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c170da;
/* rgb */ color: rgb(193, 112, 218);
/* oklch */ color: oklch(67.4% 0.171 317.8);
Tailwind
colors: {
  custom: {
    50: '#d69be6',
    500: '#c170da',
    950: '#000000',
  },
}
SCSS
$custom: #c170da;
$custom-light: #d69be6;
$custom-dark: #000000;
JSON
{
  "hex": "#c170da",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 285.849,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.1711,
    "h": 317.8
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#C170DA
secondary
#C9E5C1
accent
#C71F46
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C170DA

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

Preview Lab → · Contrast checker → · Palette generator →

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