#C16CEC#C16CEC

#C16CEC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.8% C 0.196 H 313.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C16CEC
RGBrgb(193, 108, 236)
HSLhsl(280, 77%, 67%)
HSVhsv(280, 54%, 93%)
CMYKcmyk(18.2%, 54.2%, 0%, 7.5%)
CIE-LABlab(60.00, 54.75, -51.32)
CIE-LCHlch(60.00, 75.04, 316.85°)
OKLaboklab(67.82% 0.1339 -0.1436)
OKLCHoklch(67.82% 0.196 313)
XYZxyz(42.4926, 28.1198, 82.5298)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C16CEC #97EC6C
analogous
#816CEC #C16CEC #EC6CD7
triadic
#C16CEC #ECC16C #6CECC1
tetradic
#C16CEC #EC816C #97EC6C #6CD7EC
square
#C16CEC #EC816C #97EC6C #6CD7EC
split-complementary
#C16CEC #D7EC6C #6CEC81
monochromatic
#8B19C4 #AA36E5 #C16CEC #D8A2F3 #EFD8FA

Accessibility & contrast

On white

3.17
#C16CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#C16CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C16CEC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C16CEC#FFFFFF#000000##000000
##C16CEC1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#BD82A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c16cec;
/* rgb */ color: rgb(193, 108, 236);
/* oklch */ color: oklch(67.8% 0.196 313.0);
Tailwind
colors: {
  custom: {
    50: '#d699f3',
    500: '#c16cec',
    950: '#000000',
  },
}
SCSS
$custom: #c16cec;
$custom-light: #d699f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c16cec",
  "rgb": {
    "r": 193,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 279.844,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67821,
    "c": 0.1963,
    "h": 313
  },
  "luminance": 0.28119
}

Semantic roles & 50–950 ramp

primary
#C16CEC
secondary
#D3EEC6
accent
#D90C51
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C16CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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