#C17DCD#C17DCD

#C17DCD is a light, vivid purple. Relative luminance 0.304; OKLCH L 68.8% C 0.135 H 321.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C17DCD
RGBrgb(193, 125, 205)
HSLhsl(291, 44%, 65%)
HSVhsv(291, 39%, 80%)
CMYKcmyk(5.9%, 39%, 0%, 19.6%)
CIE-LABlab(62.01, 39.52, -30.82)
CIE-LCHlch(62.01, 50.11, 322.05°)
OKLaboklab(68.85% 0.1059 -0.0845)
OKLCHoklch(68.85% 0.135 321.4)
XYZxyz(40.3441, 30.4138, 61.4911)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17DCD #89CD7D
analogous
#997DCD #C17DCD #CD7DB1
triadic
#C17DCD #CDC17D #7DCDC1
tetradic
#C17DCD #CD997D #89CD7D #7DB1CD
square
#C17DCD #CD997D #89CD7D #7DB1CD
split-complementary
#C17DCD #B1CD7D #7DCD99
monochromatic
#883A96 #AC51BC #C17DCD #D6A9DE #EBD5EF

Accessibility & contrast

On white

2.97
#C17DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C17DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17DCD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17DCD#FFFFFF#000000##000000
##C17DCD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8598CB
Tritanopia (blue-blind)
#C3869B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c17dcd;
/* rgb */ color: rgb(193, 125, 205);
/* oklch */ color: oklch(68.8% 0.135 321.4);
Tailwind
colors: {
  custom: {
    50: '#d5a4dc',
    500: '#c17dcd',
    950: '#000000',
  },
}
SCSS
$custom: #c17dcd;
$custom-light: #d5a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c17dcd",
  "rgb": {
    "r": 193,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 291,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68846,
    "c": 0.13542,
    "h": 321.4
  },
  "luminance": 0.30412
}

Semantic roles & 50–950 ramp

primary
#C17DCD
secondary
#C9E1C5
accent
#B82E43
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C17DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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