#C171BB#C171BB

#C171BB is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.1% C 0.139 H 329.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C171BB
RGBrgb(193, 113, 187)
HSLhsl(305, 39%, 60%)
HSVhsv(305, 41%, 76%)
CMYKcmyk(0%, 41.5%, 3.1%, 24.3%)
CIE-LABlab(58.73, 42.53, -25.68)
CIE-LCHlch(58.73, 49.68, 328.87°)
OKLaboklab(66.14% 0.1197 -0.0698)
OKLCHoklch(66.14% 0.139 329.7)
XYZxyz(36.8666, 26.7374, 50.2230)
Luminance0.2674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C171BB #71C177
analogous
#9F71C1 #C171BB #C17193
triadic
#C171BB #BBC171 #71BBC1
tetradic
#C171BB #C19F71 #71C177 #7193C1
square
#C171BB #C19F71 #71C177 #7193C1
split-complementary
#C171BB #93C171 #71C19F
monochromatic
#80387A #AA4AA3 #C171BB #D49CCF #E6C6E4

Accessibility & contrast

On white

3.31
#C171BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C171BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C171BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C171BB#FFFFFF#000000##000000
##C171BB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D86BE
Deuteranopia (green-blind)
#8291B9
Tritanopia (blue-blind)
#C7778D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c171bb;
/* rgb */ color: rgb(193, 113, 187);
/* oklch */ color: oklch(66.1% 0.139 329.7);
Tailwind
colors: {
  custom: {
    50: '#d59ccf',
    500: '#c171bb',
    950: '#000000',
  },
}
SCSS
$custom: #c171bb;
$custom-light: #d59ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c171bb",
  "rgb": {
    "r": 193,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 304.5,
    "s": 39.216,
    "l": 60
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.13853,
    "h": 329.7
  },
  "luminance": 0.26736
}

Semantic roles & 50–950 ramp

primary
#C171BB
secondary
#B7D6BA
accent
#CF6259
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C171BB

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

Preview Lab → · Contrast checker → · Palette generator →

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