#C17FBF#C17FBF

#C17FBF is a light, moderate purple. Relative luminance 0.303; OKLCH L 68.6% C 0.118 H 327.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C17FBF
RGBrgb(193, 127, 191)
HSLhsl(302, 35%, 63%)
HSVhsv(302, 34%, 76%)
CMYKcmyk(0%, 34.2%, 1%, 24.3%)
CIE-LABlab(61.89, 35.75, -23.10)
CIE-LCHlch(61.89, 42.56, 327.13°)
OKLaboklab(68.58% 0.0995 -0.0626)
OKLCHoklch(68.58% 0.118 327.8)
XYZxyz(38.9849, 30.2794, 53.0711)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FBF #7FC181
analogous
#A27FC1 #C17FBF #C17F9E
triadic
#C17FBF #BFC17F #7FBFC1
tetradic
#C17FBF #C1A27F #7FC181 #7F9EC1
square
#C17FBF #C1A27F #7FC181 #7F9EC1
split-complementary
#C17FBF #9EC17F #7FC1A2
monochromatic
#854083 #AD56AA #C17FBF #D5A8D4 #E9D1E8

Accessibility & contrast

On white

2.98
#C17FBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C17FBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FBF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FBF#FFFFFF#000000##000000
##C17FBF1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#8B99BD
Tritanopia (blue-blind)
#C58497
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c17fbf;
/* rgb */ color: rgb(193, 127, 191);
/* oklch */ color: oklch(68.6% 0.118 327.8);
Tailwind
colors: {
  custom: {
    50: '#d5a5d2',
    500: '#c17fbf',
    950: '#000000',
  },
}
SCSS
$custom: #c17fbf;
$custom-light: #d5a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c17fbf",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 301.818,
    "s": 34.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68577,
    "c": 0.11754,
    "h": 327.8
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#C17FBF
secondary
#C2DAC3
accent
#AE3B38
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C17FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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