#C17CED#C17CED

#C17CED is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.172 H 310.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C17CED
RGBrgb(193, 124, 237)
HSLhsl(277, 76%, 71%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.6%, 47.7%, 0%, 7.1%)
CIE-LABlab(63.23, 46.68, -46.76)
CIE-LCHlch(63.23, 66.07, 314.95°)
OKLaboklab(70.23% 0.1128 -0.1304)
OKLCHoklch(70.23% 0.172 310.9)
XYZxyz(44.4833, 31.8680, 83.9121)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CED #A8ED7C
analogous
#887CED #C17CED #ED7CE1
triadic
#C17CED #EDC17C #7CEDC1
tetradic
#C17CED #ED887C #A8ED7C #7CE1ED
square
#C17CED #ED887C #A8ED7C #7CE1ED
split-complementary
#C17CED #E1ED7C #7CED88
monochromatic
#8B1DD2 #A846E6 #C17CED #DAB2F4 #F2E4FB

Accessibility & contrast

On white

2.85
#C17CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C17CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17CED
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CED#FFFFFF#000000##000000
##C17CED1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#BC8EA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17ced;
/* rgb */ color: rgb(193, 124, 237);
/* oklch */ color: oklch(70.2% 0.172 310.9);
Tailwind
colors: {
  custom: {
    50: '#d6a4f3',
    500: '#c17ced',
    950: '#000000',
  },
}
SCSS
$custom: #c17ced;
$custom-light: #d6a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ced",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 276.637,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70232,
    "c": 0.17236,
    "h": 310.9
  },
  "luminance": 0.31867
}

Semantic roles & 50–950 ramp

primary
#C17CED
secondary
#DFF2D3
accent
#D80D5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17CED

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

Preview Lab → · Contrast checker → · Palette generator →

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