#C172BF#C172BF

#C172BF is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.5% C 0.141 H 327.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C172BF
RGBrgb(193, 114, 191)
HSLhsl(302, 39%, 60%)
HSVhsv(302, 41%, 76%)
CMYKcmyk(0%, 40.9%, 1%, 24.3%)
CIE-LABlab(59.10, 42.73, -27.40)
CIE-LCHlch(59.10, 50.76, 327.34°)
OKLaboklab(66.47% 0.1191 -0.0747)
OKLCHoklch(66.47% 0.141 327.9)
XYZxyz(37.4130, 27.1355, 52.5471)
Luminance0.2713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C172BF #72C174
analogous
#9B72C1 #C172BF #C17297
triadic
#C172BF #BFC172 #72BFC1
tetradic
#C172BF #C19B72 #72C174 #7297C1
square
#C172BF #C19B72 #72C174 #7297C1
split-complementary
#C172BF #97C172 #72C19B
monochromatic
#80387E #AB4BA8 #C172BF #D49DD2 #E6C7E6

Accessibility & contrast

On white

3.27
#C172BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C172BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C172BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C172BF#FFFFFF#000000##000000
##C172BF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#8292BC
Tritanopia (blue-blind)
#C67990
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c172bf;
/* rgb */ color: rgb(193, 114, 191);
/* oklch */ color: oklch(66.5% 0.141 327.9);
Tailwind
colors: {
  custom: {
    50: '#d59cd2',
    500: '#c172bf',
    950: '#000000',
  },
}
SCSS
$custom: #c172bf;
$custom-light: #d59cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c172bf",
  "rgb": {
    "r": 193,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 301.519,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66473,
    "c": 0.14055,
    "h": 327.9
  },
  "luminance": 0.27134
}

Semantic roles & 50–950 ramp

primary
#C172BF
secondary
#B8D7B9
accent
#B23734
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C172BF

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

Preview Lab → · Contrast checker → · Palette generator →

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