#C170C3#C170C3

#C170C3 is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.3% C 0.148 H 326.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C170C3
RGBrgb(193, 112, 195)
HSLhsl(299, 41%, 60%)
HSVhsv(299, 43%, 76%)
CMYKcmyk(1%, 42.6%, 0%, 23.5%)
CIE-LABlab(58.85, 44.53, -30.06)
CIE-LCHlch(58.85, 53.72, 325.98°)
OKLaboklab(66.34% 0.1229 -0.0822)
OKLCHoklch(66.34% 0.148 326.2)
XYZxyz(37.6360, 26.8677, 54.8227)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170C3 #72C370
analogous
#9770C3 #C170C3 #C3709C
triadic
#C170C3 #C3C170 #70C3C1
tetradic
#C170C3 #C39770 #72C370 #709CC3
square
#C170C3 #C39770 #72C370 #709CC3
split-complementary
#C170C3 #9CC370 #70C397
monochromatic
#803782 #AB49AD #C170C3 #D49BD5 #E6C6E7

Accessibility & contrast

On white

3.30
#C170C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C170C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170C3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170C3#FFFFFF#000000##000000
##C170C31.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6987C6
Deuteranopia (green-blind)
#7F91C0
Tritanopia (blue-blind)
#C57990
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c170c3;
/* rgb */ color: rgb(193, 112, 195);
/* oklch */ color: oklch(66.3% 0.148 326.2);
Tailwind
colors: {
  custom: {
    50: '#d59bd5',
    500: '#c170c3',
    950: '#000000',
  },
}
SCSS
$custom: #c170c3;
$custom-light: #d59bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c170c3",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 195
  },
  "hsl": {
    "h": 298.554,
    "s": 40.887,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.14784,
    "h": 326.2
  },
  "luminance": 0.26866
}

Semantic roles & 50–950 ramp

primary
#C170C3
secondary
#B8D7B7
accent
#B43235
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83

Preview Lab

Preview with #C170C3

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

Preview Lab → · Contrast checker → · Palette generator →

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