#C17DED#C17DED

#C17DED is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.171 H 310.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C17DED
RGBrgb(193, 125, 237)
HSLhsl(276, 76%, 71%)
HSVhsv(276, 47%, 93%)
CMYKcmyk(18.6%, 47.3%, 0%, 7.1%)
CIE-LABlab(63.44, 46.14, -46.43)
CIE-LCHlch(63.44, 65.46, 314.82°)
OKLaboklab(70.39% 0.1114 -0.1294)
OKLCHoklch(70.39% 0.171 310.7)
XYZxyz(44.6092, 32.1199, 83.9541)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17DED #A9ED7D
analogous
#897DED #C17DED #ED7DE1
triadic
#C17DED #EDC17D #7DEDC1
tetradic
#C17DED #ED897D #A9ED7D #7DE1ED
square
#C17DED #ED897D #A9ED7D #7DE1ED
split-complementary
#C17DED #E1ED7D #7DED89
monochromatic
#8B1DD2 #A747E6 #C17DED #DBB3F4 #F2E4FB

Accessibility & contrast

On white

2.83
#C17DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C17DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17DED
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17DED#FFFFFF#000000##000000
##C17DED1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#BC8FAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c17ded;
/* rgb */ color: rgb(193, 125, 237);
/* oklch */ color: oklch(70.4% 0.171 310.7);
Tailwind
colors: {
  custom: {
    50: '#d6a4f3',
    500: '#c17ded',
    950: '#000000',
  },
}
SCSS
$custom: #c17ded;
$custom-light: #d6a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ded",
  "rgb": {
    "r": 193,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 276.429,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.17075,
    "h": 310.7
  },
  "luminance": 0.32119
}

Semantic roles & 50–950 ramp

primary
#C17DED
secondary
#E0F2D4
accent
#D80E5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17DED

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

Preview Lab → · Contrast checker → · Palette generator →

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