#C17CFE#C17CFE

#C17CFE is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.192 H 306.7°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#C17CFE
RGBrgb(193, 124, 254)
HSLhsl(272, 98%, 74%)
HSVhsv(272, 51%, 100%)
CMYKcmyk(24%, 51.2%, 0%, 0.4%)
CIE-LABlab(64.09, 50.42, -54.77)
CIE-LCHlch(64.09, 74.45, 312.64°)
OKLaboklab(71.14% 0.1145 -0.1537)
OKLCHoklch(71.14% 0.192 306.7)
XYZxyz(47.0857, 32.9090, 97.6183)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17CFE #B9FE7C
analogous
#807CFE #C17CFE #FE7CFA
triadic
#C17CFE #FEC17C #7CFEC1
tetradic
#C17CFE #FE807C #B9FE7C #7CFAFE
square
#C17CFE #FE807C #B9FE7C #7CFAFE
split-complementary
#C17CFE #FAFE7C #7CFE80
monochromatic
#8803FD #A43FFE #C17CFE #DEB9FE #F1E1FF

Accessibility & contrast

On white

2.77
#C17CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#C17CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17CFE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17CFE#FFFFFF#000000##000000
##C17CFE1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#B893B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17cfe;
/* rgb */ color: rgb(193, 124, 254);
/* oklch */ color: oklch(71.1% 0.192 306.7);
Tailwind
colors: {
  custom: {
    50: '#d6a4ff',
    500: '#c17cfe',
    950: '#000000',
  },
}
SCSS
$custom: #c17cfe;
$custom-light: #d6a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c17cfe",
  "rgb": {
    "r": 193,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 271.846,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71143,
    "c": 0.19164,
    "h": 306.7
  },
  "luminance": 0.32909
}

Semantic roles & 50–950 ramp

primary
#C17CFE
secondary
#E4F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C17CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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