#C173BB#C173BB

#C173BB is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.5% C 0.135 H 329.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#C173BB
RGBrgb(193, 115, 187)
HSLhsl(305, 39%, 60%)
HSVhsv(305, 40%, 76%)
CMYKcmyk(0%, 40.4%, 3.1%, 24.3%)
CIE-LABlab(59.15, 41.47, -25.04)
CIE-LCHlch(59.15, 48.44, 328.88°)
OKLaboklab(66.46% 0.1167 -0.068)
OKLCHoklch(66.46% 0.135 329.8)
XYZxyz(37.0922, 27.1886, 50.2982)
Luminance0.2719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C173BB #73C179
analogous
#A073C1 #C173BB #C17394
triadic
#C173BB #BBC173 #73BBC1
tetradic
#C173BB #C1A073 #73C179 #7394C1
square
#C173BB #C1A073 #73C179 #7394C1
split-complementary
#C173BB #94C173 #73C1A0
monochromatic
#81397B #AB4CA4 #C173BB #D49DD0 #E7C8E4

Accessibility & contrast

On white

3.26
#C173BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#C173BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C173BB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C173BB#FFFFFF#000000##000000
##C173BB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#8492B9
Tritanopia (blue-blind)
#C6798E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c173bb;
/* rgb */ color: rgb(193, 115, 187);
/* oklch */ color: oklch(66.5% 0.135 329.8);
Tailwind
colors: {
  custom: {
    50: '#d59dcf',
    500: '#c173bb',
    950: '#000000',
  },
}
SCSS
$custom: #c173bb;
$custom-light: #d59dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c173bb",
  "rgb": {
    "r": 193,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 304.615,
    "s": 38.614,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.13503,
    "h": 329.8
  },
  "luminance": 0.27187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C173BB

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

Preview Lab → · Contrast checker → · Palette generator →

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