#C17CBF#C17CBF

#C17CBF is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.1% C 0.123 H 327.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#C17CBF
RGBrgb(193, 124, 191)
HSLhsl(302, 36%, 62%)
HSVhsv(302, 36%, 76%)
CMYKcmyk(0%, 35.8%, 1%, 24.3%)
CIE-LABlab(61.23, 37.37, -24.11)
CIE-LCHlch(61.23, 44.48, 327.18°)
OKLaboklab(68.08% 0.104 -0.0654)
OKLCHoklch(68.08% 0.123 327.8)
XYZxyz(38.6032, 29.5160, 52.9438)
Luminance0.2951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CBF #7CC17E
analogous
#A17CC1 #C17CBF #C17C9D
triadic
#C17CBF #BFC17C #7CBFC1
tetradic
#C17CBF #C1A17C #7CC17E #7C9DC1
square
#C17CBF #C1A17C #7CC17E #7C9DC1
split-complementary
#C17CBF #9DC17C #7CC1A1
monochromatic
#843F82 #AD52AB #C17CBF #D5A6D3 #E8CFE8

Accessibility & contrast

On white

3.04
#C17CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C17CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17CBF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CBF#FFFFFF#000000##000000
##C17CBF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#8997BD
Tritanopia (blue-blind)
#C58295
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c17cbf;
/* rgb */ color: rgb(193, 124, 191);
/* oklch */ color: oklch(68.1% 0.123 327.8);
Tailwind
colors: {
  custom: {
    50: '#d5a3d2',
    500: '#c17cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c17cbf;
$custom-light: #d5a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c17cbf",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 301.739,
    "s": 35.751,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68078,
    "c": 0.12291,
    "h": 327.8
  },
  "luminance": 0.29514
}

Semantic roles & 50–950 ramp

primary
#C17CBF
secondary
#C0D9C0
accent
#AF3A37
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C17CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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