#C17FCD#C17FCD

#C17FCD is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.2% C 0.132 H 321.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C17FCD
RGBrgb(193, 127, 205)
HSLhsl(291, 44%, 65%)
HSVhsv(291, 38%, 80%)
CMYKcmyk(5.9%, 38%, 0%, 19.6%)
CIE-LABlab(62.44, 38.44, -30.14)
CIE-LCHlch(62.44, 48.84, 321.89°)
OKLaboklab(69.17% 0.1029 -0.0826)
OKLCHoklch(69.17% 0.132 321.3)
XYZxyz(40.5998, 30.9253, 61.5763)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FCD #8BCD7F
analogous
#9A7FCD #C17FCD #CD7FB2
triadic
#C17FCD #CDC17F #7FCDC1
tetradic
#C17FCD #CD9A7F #8BCD7F #7FB2CD
square
#C17FCD #CD9A7F #8BCD7F #7FB2CD
split-complementary
#C17FCD #B2CD7F #7FCD9A
monochromatic
#893B97 #AC53BC #C17FCD #D6ABDE #ECD7EF

Accessibility & contrast

On white

2.92
#C17FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#C17FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FCD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FCD#FFFFFF#000000##000000
##C17FCD1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#C3889C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c17fcd;
/* rgb */ color: rgb(193, 127, 205);
/* oklch */ color: oklch(69.2% 0.132 321.3);
Tailwind
colors: {
  custom: {
    50: '#d5a5dc',
    500: '#c17fcd',
    950: '#000000',
  },
}
SCSS
$custom: #c17fcd;
$custom-light: #d5a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c17fcd",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 290.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69173,
    "c": 0.13193,
    "h": 321.3
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#C17FCD
secondary
#CBE1C7
accent
#B72F44
background
#FDFAFD
surface
#FAF4FB
border
#D3CED4
text
#140F15
muted
#837F83

Preview Lab

Preview with #C17FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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