#C17DF7#C17DF7

#C17DF7 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.182 H 308.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C17DF7
RGBrgb(193, 125, 247)
HSLhsl(273, 88%, 73%)
HSVhsv(273, 49%, 97%)
CMYKcmyk(21.9%, 49.4%, 0%, 3.1%)
CIE-LABlab(63.93, 48.34, -51.17)
CIE-LCHlch(63.93, 70.39, 313.37°)
OKLaboklab(70.91% 0.1125 -0.1432)
OKLCHoklch(70.91% 0.182 308.2)
XYZxyz(46.1111, 32.7207, 91.8642)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17DF7 #B3F77D
analogous
#847DF7 #C17DF7 #F77DF0
triadic
#C17DF7 #F7C17D #7DF7C1
tetradic
#C17DF7 #F7847D #B3F77D #7DF0F7
square
#C17DF7 #F7847D #B3F77D #7DF0F7
split-complementary
#C17DF7 #F0F77D #7DF784
monochromatic
#890EEB #A643F3 #C17DF7 #DCB7FB #F1E2FD

Accessibility & contrast

On white

2.78
#C17DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C17DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17DF7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17DF7#FFFFFF#000000##000000
##C17DF71.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6F9CF4
Tritanopia (blue-blind)
#B992AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17df7;
/* rgb */ color: rgb(193, 125, 247);
/* oklch */ color: oklch(70.9% 0.182 308.2);
Tailwind
colors: {
  custom: {
    50: '#d6a4fa',
    500: '#c17df7',
    950: '#000000',
  },
}
SCSS
$custom: #c17df7;
$custom-light: #d6a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c17df7",
  "rgb": {
    "r": 193,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 273.443,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.18212,
    "h": 308.2
  },
  "luminance": 0.3272
}

Semantic roles & 50–950 ramp

primary
#C17DF7
secondary
#E4F5D6
accent
#E50066
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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