#C17ABE#C17ABE

#C17ABE is a light, vivid purple. Relative luminance 0.290; OKLCH L 67.7% C 0.126 H 328.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C17ABE
RGBrgb(193, 122, 190)
HSLhsl(303, 36%, 62%)
HSVhsv(303, 37%, 76%)
CMYKcmyk(0%, 36.8%, 1.6%, 24.3%)
CIE-LABlab(60.76, 38.27, -24.27)
CIE-LCHlch(60.76, 45.32, 327.62°)
OKLaboklab(67.71% 0.1068 -0.0659)
OKLCHoklch(67.71% 0.126 328.3)
XYZxyz(38.2454, 28.9759, 52.2836)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17ABE #7AC17D
analogous
#A17AC1 #C17ABE #C17A9B
triadic
#C17ABE #BEC17A #7ABEC1
tetradic
#C17ABE #C1A17A #7AC17D #7A9BC1
square
#C17ABE #C1A17A #7AC17D #7A9BC1
split-complementary
#C17ABE #9BC17A #7AC1A1
monochromatic
#833D80 #AD51A9 #C17ABE #D4A4D2 #E8CDE7

Accessibility & contrast

On white

3.09
#C17ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C17ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C17ABE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17ABE#FFFFFF#000000##000000
##C17ABE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC1
Deuteranopia (green-blind)
#8896BC
Tritanopia (blue-blind)
#C68093
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c17abe;
/* rgb */ color: rgb(193, 122, 190);
/* oklch */ color: oklch(67.7% 0.126 328.3);
Tailwind
colors: {
  custom: {
    50: '#d5a2d1',
    500: '#c17abe',
    950: '#000000',
  },
}
SCSS
$custom: #c17abe;
$custom-light: #d5a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c17abe",
  "rgb": {
    "r": 193,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 302.535,
    "s": 36.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67708,
    "c": 0.12551,
    "h": 328.3
  },
  "luminance": 0.28974
}

Semantic roles & 50–950 ramp

primary
#C17ABE
secondary
#BED9BF
accent
#AF3B36
background
#FDFAFC
surface
#FAF3F9
border
#D3CDD2
text
#140F14
muted
#837F82

Preview Lab

Preview with #C17ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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