#C17EFE#C17EFE

#C17EFE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.189 H 306.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C17EFE
RGBrgb(193, 126, 254)
HSLhsl(271, 98%, 75%)
HSVhsv(271, 50%, 100%)
CMYKcmyk(24%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.50, 49.37, -54.12)
CIE-LCHlch(64.50, 73.26, 312.37°)
OKLaboklab(71.45% 0.1119 -0.1518)
OKLCHoklch(71.45% 0.189 306.4)
XYZxyz(47.3389, 33.4153, 97.7027)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EFE #BBFE7E
analogous
#817EFE #C17EFE #FE7EFB
triadic
#C17EFE #FEC17E #7EFEC1
tetradic
#C17EFE #FE817E #BBFE7E #7EFBFE
square
#C17EFE #FE817E #BBFE7E #7EFBFE
split-complementary
#C17EFE #FBFE7E #7EFE81
monochromatic
#8705FD #A441FE #C17EFE #DEBBFE #F0E1FF

Accessibility & contrast

On white

2.73
#C17EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C17EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EFE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EFE#FFFFFF#000000##000000
##C17EFE1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#B795B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c17efe;
/* rgb */ color: rgb(193, 126, 254);
/* oklch */ color: oklch(71.4% 0.189 306.4);
Tailwind
colors: {
  custom: {
    50: '#d6a5ff',
    500: '#c17efe',
    950: '#000000',
  },
}
SCSS
$custom: #c17efe;
$custom-light: #d6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c17efe",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 271.406,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.18858,
    "h": 306.4
  },
  "luminance": 0.33415
}

Semantic roles & 50–950 ramp

primary
#C17EFE
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C17EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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