#C17FF3#C17FF3

#C17FF3 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.174 H 308.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C17FF3
RGBrgb(193, 127, 243)
HSLhsl(274, 83%, 73%)
HSVhsv(274, 48%, 95%)
CMYKcmyk(20.6%, 47.7%, 0%, 4.7%)
CIE-LABlab(64.15, 46.39, -48.62)
CIE-LCHlch(64.15, 67.20, 313.65°)
OKLaboklab(71.01% 0.1094 -0.1358)
OKLCHoklch(71.01% 0.174 308.9)
XYZxyz(45.7563, 32.9879, 88.7335)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17FF3 #B1F37F
analogous
#877FF3 #C17FF3 #F37FEB
triadic
#C17FF3 #F3C17F #7FF3C1
tetradic
#C17FF3 #F3877F #B1F37F #7FEBF3
square
#C17FF3 #F3877F #B1F37F #7FEBF3
split-complementary
#C17FF3 #EBF37F #7FF387
monochromatic
#8A15E2 #A647EE #C17FF3 #DCB7F8 #F1E3FC

Accessibility & contrast

On white

2.76
#C17FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C17FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17FF3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17FF3#FFFFFF#000000##000000
##C17FF31.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#749CF0
Tritanopia (blue-blind)
#BA92AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17ff3;
/* rgb */ color: rgb(193, 127, 243);
/* oklch */ color: oklch(71.0% 0.174 308.9);
Tailwind
colors: {
  custom: {
    50: '#d6a6f7',
    500: '#c17ff3',
    950: '#000000',
  },
}
SCSS
$custom: #c17ff3;
$custom-light: #d6a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c17ff3",
  "rgb": {
    "r": 193,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 274.138,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.1744,
    "h": 308.9
  },
  "luminance": 0.32987
}

Semantic roles & 50–950 ramp

primary
#C17FF3
secondary
#E3F4D7
accent
#DF0664
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C17FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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