#C173BD#C173BD

#C173BD is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.5% C 0.137 H 328.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#C173BD
RGBrgb(193, 115, 189)
HSLhsl(303, 39%, 60%)
HSVhsv(303, 40%, 76%)
CMYKcmyk(0%, 40.4%, 2.1%, 24.3%)
CIE-LABlab(59.23, 41.83, -26.06)
CIE-LCHlch(59.23, 49.29, 328.08°)
OKLaboklab(66.54% 0.1171 -0.0709)
OKLCHoklch(66.54% 0.137 328.8)
XYZxyz(37.3078, 27.2748, 51.4337)
Luminance0.2727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173BD #73C177
analogous
#9E73C1 #C173BD #C17396
triadic
#C173BD #BDC173 #73BDC1
tetradic
#C173BD #C19E73 #73C177 #7396C1
square
#C173BD #C19E73 #73C177 #7396C1
split-complementary
#C173BD #96C173 #73C19E
monochromatic
#81397D #AB4CA6 #C173BD #D49DD1 #E7C8E5

Accessibility & contrast

On white

3.25
#C173BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#C173BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173BD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173BD#FFFFFF#000000##000000
##C173BD1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C0
Deuteranopia (green-blind)
#8392BB
Tritanopia (blue-blind)
#C6798F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c173bd;
/* rgb */ color: rgb(193, 115, 189);
/* oklch */ color: oklch(66.5% 0.137 328.8);
Tailwind
colors: {
  custom: {
    50: '#d59dd1',
    500: '#c173bd',
    950: '#000000',
  },
}
SCSS
$custom: #c173bd;
$custom-light: #d59dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c173bd",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 303.077,
    "s": 38.614,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66543,
    "c": 0.13691,
    "h": 328.8
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#C173BD
secondary
#B9D7BB
accent
#B23A34
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C173BD

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

Preview Lab → · Contrast checker → · Palette generator →

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