#C17CBC#C17CBC

#C17CBC is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.0% C 0.120 H 329.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#C17CBC
RGBrgb(193, 124, 188)
HSLhsl(304, 36%, 62%)
HSVhsv(304, 36%, 76%)
CMYKcmyk(0%, 35.8%, 2.6%, 24.3%)
CIE-LABlab(61.12, 36.82, -22.58)
CIE-LCHlch(61.12, 43.19, 328.48°)
OKLaboklab(67.96% 0.1033 -0.0612)
OKLCHoklch(67.96% 0.12 329.4)
XYZxyz(38.2765, 29.3853, 51.2229)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CBC #7CC181
analogous
#A47CC1 #C17CBC #C17C9A
triadic
#C17CBC #BCC17C #7CBCC1
tetradic
#C17CBC #C1A47C #7CC181 #7C9AC1
square
#C17CBC #C1A47C #7CC181 #7C9AC1
split-complementary
#C17CBC #9AC17C #7CC1A4
monochromatic
#843F7F #AD52A7 #C17CBC #D5A6D1 #E8CFE6

Accessibility & contrast

On white

3.05
#C17CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#C17CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17CBC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CBC#FFFFFF#000000##000000
##C17CBC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#8A97BA
Tritanopia (blue-blind)
#C68194
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c17cbc;
/* rgb */ color: rgb(193, 124, 188);
/* oklch */ color: oklch(68.0% 0.120 329.4);
Tailwind
colors: {
  custom: {
    50: '#d5a3d0',
    500: '#c17cbc',
    950: '#000000',
  },
}
SCSS
$custom: #c17cbc;
$custom-light: #d5a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c17cbc",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 304.348,
    "s": 35.751,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67955,
    "c": 0.12001,
    "h": 329.4
  },
  "luminance": 0.29384
}

Semantic roles & 50–950 ramp

primary
#C17CBC
secondary
#C0D9C2
accent
#AF4037
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C17CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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