#C366DF#C366DF

#C366DF is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.5% C 0.193 H 317.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#C366DF
RGBrgb(195, 102, 223)
HSLhsl(286, 65%, 64%)
HSVhsv(286, 54%, 87%)
CMYKcmyk(12.6%, 54.3%, 0%, 12.5%)
CIE-LABlab(58.45, 55.59, -46.50)
CIE-LCHlch(58.45, 72.47, 320.09°)
OKLaboklab(66.52% 0.1431 -0.1294)
OKLCHoklch(66.52% 0.193 317.9)
XYZxyz(40.5745, 26.4341, 72.7627)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366DF #82DF66
analogous
#8666DF #C366DF #DF66BE
triadic
#C366DF #DFC366 #66DFC3
tetradic
#C366DF #DF8666 #82DF66 #66BEDF
square
#C366DF #DF8666 #82DF66 #66BEDF
split-complementary
#C366DF #BEDF66 #66DF86
monochromatic
#8923A8 #AF33D4 #C366DF #D799EA #EBCBF4

Accessibility & contrast

On white

3.34
#C366DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#C366DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366DF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366DF#FFFFFF#000000##000000
##C366DF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#C37999
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c366df;
/* rgb */ color: rgb(195, 102, 223);
/* oklch */ color: oklch(66.5% 0.193 317.9);
Tailwind
colors: {
  custom: {
    50: '#d895e9',
    500: '#c366df',
    950: '#000000',
  },
}
SCSS
$custom: #c366df;
$custom-light: #d895e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c366df",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 286.116,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66518,
    "c": 0.19295,
    "h": 317.9
  },
  "luminance": 0.26433
}

Semantic roles & 50–950 ramp

primary
#C366DF
secondary
#C5E6BB
accent
#CD1842
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366DF

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

Preview Lab → · Contrast checker → · Palette generator →

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