#C171CA#C171CA

#C171CA is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.8% C 0.153 H 323.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#C171CA
RGBrgb(193, 113, 202)
HSLhsl(294, 46%, 62%)
HSVhsv(294, 44%, 79%)
CMYKcmyk(4.5%, 44.1%, 0%, 20.8%)
CIE-LABlab(59.36, 45.33, -33.25)
CIE-LCHlch(59.36, 56.21, 323.74°)
OKLaboklab(66.82% 0.1228 -0.0913)
OKLCHoklch(66.82% 0.153 323.4)
XYZxyz(38.5570, 27.4136, 59.1260)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C171CA #7ACA71
analogous
#9571CA #C171CA #CA71A7
triadic
#C171CA #CAC171 #71CAC1
tetradic
#C171CA #CA9571 #7ACA71 #71A7CA
square
#C171CA #CA9571 #7ACA71 #71A7CA
split-complementary
#C171CA #A7CA71 #71CA95
monochromatic
#83348C #AD45B9 #C171CA #D49EDB #E8CAEB

Accessibility & contrast

On white

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

On black

6.48
#C171CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C171CA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C171CA#FFFFFF#000000##000000
##C171CA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CD
Deuteranopia (green-blind)
#7D92C7
Tritanopia (blue-blind)
#C47B94
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c171ca;
/* rgb */ color: rgb(193, 113, 202);
/* oklch */ color: oklch(66.8% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#d59cda',
    500: '#c171ca',
    950: '#000000',
  },
}
SCSS
$custom: #c171ca;
$custom-light: #d59cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c171ca",
  "rgb": {
    "r": 193,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 293.933,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.15303,
    "h": 323.4
  },
  "luminance": 0.27412
}

Semantic roles & 50–950 ramp

primary
#C171CA
secondary
#BEDCBB
accent
#B92D3B
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E15
muted
#837E83

Preview Lab

Preview with #C171CA

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

Preview Lab → · Contrast checker → · Palette generator →

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