#C17FFA#C17FFA

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

Color values

HEX#C17FFA
RGBrgb(193, 127, 250)
HSLhsl(272, 92%, 74%)
HSVhsv(272, 49%, 98%)
CMYKcmyk(22.8%, 49.2%, 0%, 2%)
CIE-LABlab(64.50, 47.94, -51.92)
CIE-LCHlch(64.50, 70.67, 312.72°)
OKLaboklab(71.38% 0.1102 -0.1454)
OKLCHoklch(71.38% 0.182 307.2)
XYZxyz(46.8335, 33.4188, 94.4072)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FFA #B8FA7F
analogous
#847FFA #C17FFA #FA7FF6
triadic
#C17FFA #FAC17F #7FFAC1
tetradic
#C17FFA #FA847F #B8FA7F #7FF6FA
square
#C17FFA #FA847F #B8FA7F #7FF6FA
split-complementary
#C17FFA #F6FA7F #7FFA84
monochromatic
#880AF5 #A444F8 #C17FFA #DEBAFC #F1E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C17FFA#FFFFFF#000000##000000
##C17FFA1.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)
#5D9AFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#B994B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c17ffa;
/* rgb */ color: rgb(193, 127, 250);
/* oklch */ color: oklch(71.4% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#d6a6fc',
    500: '#c17ffa',
    950: '#000000',
  },
}
SCSS
$custom: #c17ffa;
$custom-light: #d6a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ffa",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 272.195,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71382,
    "c": 0.18244,
    "h": 307.2
  },
  "luminance": 0.33418
}

Semantic roles & 50–950 ramp

primary
#C17FFA
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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