#C166ED#C166ED

#C166ED is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.1% C 0.206 H 313.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C166ED
RGBrgb(193, 102, 237)
HSLhsl(280, 79%, 66%)
HSVhsv(280, 57%, 93%)
CMYKcmyk(18.6%, 57%, 0%, 7.1%)
CIE-LABlab(58.93, 57.93, -53.57)
CIE-LCHlch(58.93, 78.90, 317.24°)
OKLaboklab(67.06% 0.1415 -0.1501)
OKLCHoklch(67.06% 0.206 313.3)
XYZxyz(42.0271, 26.9558, 83.0934)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166ED #92ED66
analogous
#7E66ED #C166ED #ED66D6
triadic
#C166ED #EDC166 #66EDC1
tetradic
#C166ED #ED7E66 #92ED66 #66D6ED
square
#C166ED #ED7E66 #92ED66 #66D6ED
split-complementary
#C166ED #D6ED66 #66ED7E
monochromatic
#8A17C2 #AB2FE7 #C166ED #D79DF3 #EDD4FA

Accessibility & contrast

On white

3.29
#C166ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C166ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166ED
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166ED#FFFFFF#000000##000000
##C166ED1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#BD7EA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c166ed;
/* rgb */ color: rgb(193, 102, 237);
/* oklch */ color: oklch(67.1% 0.206 313.3);
Tailwind
colors: {
  custom: {
    50: '#d796f3',
    500: '#c166ed',
    950: '#000000',
  },
}
SCSS
$custom: #c166ed;
$custom-light: #d796f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ed",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 280.444,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67059,
    "c": 0.20629,
    "h": 313.3
  },
  "luminance": 0.26955
}

Semantic roles & 50–950 ramp

primary
#C166ED
secondary
#D0EDC2
accent
#DB0A4E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166ED

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

Preview Lab → · Contrast checker → · Palette generator →

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