#C17DE7#C17DE7

#C17DE7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.164 H 312.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#C17DE7
RGBrgb(193, 125, 231)
HSLhsl(278, 69%, 70%)
HSVhsv(278, 46%, 91%)
CMYKcmyk(16.5%, 45.9%, 0%, 9.4%)
CIE-LABlab(63.16, 44.86, -43.55)
CIE-LCHlch(63.16, 62.52, 315.84°)
OKLaboklab(70.08% 0.1106 -0.1211)
OKLCHoklch(70.08% 0.164 312.4)
XYZxyz(43.7473, 31.7751, 79.4145)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17DE7 #A3E77D
analogous
#8C7DE7 #C17DE7 #E77DD8
triadic
#C17DE7 #E7C17D #7DE7C1
tetradic
#C17DE7 #E78C7D #A3E77D #7DD8E7
square
#C17DE7 #E78C7D #A3E77D #7DD8E7
split-complementary
#C17DE7 #D8E77D #7DE78C
monochromatic
#8C24C5 #A849DD #C17DE7 #DAB1F1 #F2E4FA

Accessibility & contrast

On white

2.86
#C17DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#C17DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17DE7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17DE7#FFFFFF#000000##000000
##C17DE71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#799AE4
Tritanopia (blue-blind)
#BD8DA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c17de7;
/* rgb */ color: rgb(193, 125, 231);
/* oklch */ color: oklch(70.1% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#d5a4ef',
    500: '#c17de7',
    950: '#000000',
  },
}
SCSS
$custom: #c17de7;
$custom-light: #d5a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c17de7",
  "rgb": {
    "r": 193,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 278.491,
    "s": 68.831,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.16397,
    "h": 312.4
  },
  "luminance": 0.31774
}

Semantic roles & 50–950 ramp

primary
#C17DE7
secondary
#DCEFD1
accent
#D11558
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C17DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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