#C172BB#C172BB

#C172BB is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.3% C 0.137 H 329.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C172BB
RGBrgb(193, 114, 187)
HSLhsl(305, 39%, 60%)
HSVhsv(305, 41%, 76%)
CMYKcmyk(0%, 40.9%, 3.1%, 24.3%)
CIE-LABlab(58.94, 42.00, -25.36)
CIE-LCHlch(58.94, 49.06, 328.87°)
OKLaboklab(66.3% 0.1182 -0.0689)
OKLCHoklch(66.3% 0.137 329.7)
XYZxyz(36.9788, 26.9618, 50.2604)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C172BB #72C178
analogous
#9F72C1 #C172BB #C17293
triadic
#C172BB #BBC172 #72BBC1
tetradic
#C172BB #C19F72 #72C178 #7293C1
square
#C172BB #C19F72 #72C178 #7293C1
split-complementary
#C172BB #93C172 #72C19F
monochromatic
#80387B #AB4BA3 #C172BB #D49DD0 #E6C7E4

Accessibility & contrast

On white

3.29
#C172BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C172BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C172BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C172BB#FFFFFF#000000##000000
##C172BB1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BE
Deuteranopia (green-blind)
#8392B9
Tritanopia (blue-blind)
#C6788E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c172bb;
/* rgb */ color: rgb(193, 114, 187);
/* oklch */ color: oklch(66.3% 0.137 329.7);
Tailwind
colors: {
  custom: {
    50: '#d59ccf',
    500: '#c172bb',
    950: '#000000',
  },
}
SCSS
$custom: #c172bb;
$custom-light: #d59ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c172bb",
  "rgb": {
    "r": 193,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 304.557,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.663,
    "c": 0.13679,
    "h": 329.7
  },
  "luminance": 0.2696
}

Semantic roles & 50–950 ramp

primary
#C172BB
secondary
#B8D7BB
accent
#B23D34
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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