#C170C8#C170C8

#C170C8 is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.6% C 0.153 H 324.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C170C8
RGBrgb(193, 112, 200)
HSLhsl(295, 44%, 61%)
HSVhsv(295, 44%, 78%)
CMYKcmyk(3.5%, 44%, 0%, 21.6%)
CIE-LABlab(59.06, 45.47, -32.56)
CIE-LCHlch(59.06, 55.93, 324.39°)
OKLaboklab(66.57% 0.1239 -0.0894)
OKLCHoklch(66.57% 0.153 324.2)
XYZxyz(38.2108, 27.0976, 57.8500)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170C8 #77C870
analogous
#9570C8 #C170C8 #C870A3
triadic
#C170C8 #C8C170 #70C8C1
tetradic
#C170C8 #C89570 #77C870 #70A3C8
square
#C170C8 #C89570 #77C870 #70A3C8
split-complementary
#C170C8 #A3C870 #70C895
monochromatic
#823589 #AC46B5 #C170C8 #D49CD9 #E7C8EA

Accessibility & contrast

On white

3.27
#C170C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C170C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170C8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170C8#FFFFFF#000000##000000
##C170C81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CB
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#C47A93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c170c8;
/* rgb */ color: rgb(193, 112, 200);
/* oklch */ color: oklch(66.6% 0.153 324.2);
Tailwind
colors: {
  custom: {
    50: '#d59bd9',
    500: '#c170c8',
    950: '#000000',
  },
}
SCSS
$custom: #c170c8;
$custom-light: #d59bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#c170c8",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 295.227,
    "s": 44.444,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6657,
    "c": 0.15274,
    "h": 324.2
  },
  "luminance": 0.27096
}

Semantic roles & 50–950 ramp

primary
#C170C8
secondary
#BCDAB9
accent
#B82E39
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83

Preview Lab

Preview with #C170C8

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

Preview Lab → · Contrast checker → · Palette generator →

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