#C17FF7#C17FF7

#C17FF7 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.179 H 307.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C17FF7
RGBrgb(193, 127, 247)
HSLhsl(273, 88%, 73%)
HSVhsv(273, 49%, 97%)
CMYKcmyk(21.9%, 48.6%, 0%, 3.1%)
CIE-LABlab(64.35, 47.27, -50.51)
CIE-LCHlch(64.35, 69.18, 313.10°)
OKLaboklab(71.22% 0.1099 -0.1413)
OKLCHoklch(71.22% 0.179 307.9)
XYZxyz(46.3669, 33.2321, 91.9495)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FF7 #B5F77F
analogous
#857FF7 #C17FF7 #F77FF1
triadic
#C17FF7 #F7C17F #7FF7C1
tetradic
#C17FF7 #F7857F #B5F77F #7FF1F7
square
#C17FF7 #F7857F #B5F77F #7FF1F7
split-complementary
#C17FF7 #F1F77F #7FF785
monochromatic
#890FED #A545F3 #C17FF7 #DDB9FB #F1E2FD

Accessibility & contrast

On white

2.75
#C17FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C17FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FF7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FF7#FFFFFF#000000##000000
##C17FF71.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#B993B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c17ff7;
/* rgb */ color: rgb(193, 127, 247);
/* oklch */ color: oklch(71.2% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#d6a6fa',
    500: '#c17ff7',
    950: '#000000',
  },
}
SCSS
$custom: #c17ff7;
$custom-light: #d6a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ff7",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 273,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.179,
    "h": 307.9
  },
  "luminance": 0.33232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C17FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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