#C366DC#C366DC

#C366DC is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.190 H 318.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#C366DC
RGBrgb(195, 102, 220)
HSLhsl(287, 63%, 63%)
HSVhsv(287, 54%, 86%)
CMYKcmyk(11.4%, 53.6%, 0%, 13.7%)
CIE-LABlab(58.30, 54.99, -45.05)
CIE-LCHlch(58.30, 71.09, 320.68°)
OKLaboklab(66.36% 0.1428 -0.1252)
OKLCHoklch(66.36% 0.19 318.8)
XYZxyz(40.1736, 26.2737, 70.6514)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366DC #7FDC66
analogous
#8866DC #C366DC #DC66BA
triadic
#C366DC #DCC366 #66DCC3
tetradic
#C366DC #DC8866 #7FDC66 #66BADC
square
#C366DC #DC8866 #7FDC66 #66BADC
split-complementary
#C366DC #BADC66 #66DC88
monochromatic
#8825A2 #AF34D1 #C366DC #D798E7 #EACAF3

Accessibility & contrast

On white

3.36
#C366DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#C366DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366DC#FFFFFF#000000##000000
##C366DC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#C37898
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c366dc;
/* rgb */ color: rgb(195, 102, 220);
/* oklch */ color: oklch(66.4% 0.190 318.8);
Tailwind
colors: {
  custom: {
    50: '#d895e7',
    500: '#c366dc',
    950: '#000000',
  },
}
SCSS
$custom: #c366dc;
$custom-light: #d895e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c366dc",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 287.288,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.18997,
    "h": 318.8
  },
  "luminance": 0.26272
}

Semantic roles & 50–950 ramp

primary
#C366DC
secondary
#C3E4BA
accent
#CB1B40
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366DC

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

Preview Lab → · Contrast checker → · Palette generator →

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