#C170CF#C170CF

#C170CF is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.9% C 0.160 H 321.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C170CF
RGBrgb(193, 112, 207)
HSLhsl(291, 50%, 63%)
HSVhsv(291, 46%, 81%)
CMYKcmyk(6.8%, 45.9%, 0%, 18.8%)
CIE-LABlab(59.37, 46.82, -36.05)
CIE-LCHlch(59.37, 59.09, 322.40°)
OKLaboklab(66.9% 0.1251 -0.0993)
OKLCHoklch(66.9% 0.16 321.5)
XYZxyz(39.0477, 27.4323, 62.2575)
Luminance0.2743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170CF #7ECF70
analogous
#9270CF #C170CF #CF70AD
triadic
#C170CF #CFC170 #70CFC1
tetradic
#C170CF #CF9270 #7ECF70 #70ADCF
square
#C170CF #CF9270 #7ECF70 #70ADCF
split-complementary
#C170CF #ADCF70 #70CF92
monochromatic
#853193 #AD42C0 #C170CF #D59EDE #E9CCEE

Accessibility & contrast

On white

3.24
#C170CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C170CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170CF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170CF#FFFFFF#000000##000000
##C170CF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#C37C96
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c170cf;
/* rgb */ color: rgb(193, 112, 207);
/* oklch */ color: oklch(66.9% 0.160 321.5);
Tailwind
colors: {
  custom: {
    50: '#d59bde',
    500: '#c170cf',
    950: '#000000',
  },
}
SCSS
$custom: #c170cf;
$custom-light: #d59bde;
$custom-dark: #000000;
JSON
{
  "hex": "#c170cf",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 291.158,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66901,
    "c": 0.15976,
    "h": 321.5
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#C170CF
secondary
#C1DFBC
accent
#BD283E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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