#C17EFF#C17EFF

#C17EFF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.190 H 306.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C17EFF
RGBrgb(193, 126, 255)
HSLhsl(271, 100%, 75%)
HSVhsv(271, 51%, 100%)
CMYKcmyk(24.3%, 50.6%, 0%, 0%)
CIE-LABlab(64.55, 49.60, -54.59)
CIE-LCHlch(64.55, 73.75, 312.26°)
OKLaboklab(71.5% 0.112 -0.1532)
OKLCHoklch(71.5% 0.19 306.2)
XYZxyz(47.4994, 33.4796, 98.5482)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17EFF #BCFF7E
analogous
#817EFF #C17EFF #FF7EFC
triadic
#C17EFF #FFC17E #7EFFC1
tetradic
#C17EFF #FF817E #BCFF7E #7EFCFF
square
#C17EFF #FF817E #BCFF7E #7EFCFF
split-complementary
#C17EFF #FCFF7E #7EFF81
monochromatic
#8604FF #A441FF #C17EFF #DEBBFF #F0E0FF

Accessibility & contrast

On white

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

On black

7.70
#C17EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17EFF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17EFF#FFFFFF#000000##000000
##C17EFF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#B795B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c17eff;
/* rgb */ color: rgb(193, 126, 255);
/* oklch */ color: oklch(71.5% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6a5ff',
    500: '#c17eff',
    950: '#000000',
  },
}
SCSS
$custom: #c17eff;
$custom-light: #d6a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c17eff",
  "rgb": {
    "r": 193,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 271.163,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.18973,
    "h": 306.2
  },
  "luminance": 0.33479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C17EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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