#C366D9#C366D9

#C366D9 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.2% C 0.187 H 319.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#C366D9
RGBrgb(195, 102, 217)
HSLhsl(289, 60%, 63%)
HSVhsv(289, 53%, 85%)
CMYKcmyk(10.1%, 53%, 0%, 14.9%)
CIE-LABlab(58.15, 54.41, -43.60)
CIE-LCHlch(58.15, 69.72, 321.29°)
OKLaboklab(66.2% 0.1425 -0.121)
OKLCHoklch(66.2% 0.187 319.7)
XYZxyz(39.7799, 26.1162, 68.5777)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366D9 #7CD966
analogous
#8A66D9 #C366D9 #D966B5
triadic
#C366D9 #D9C366 #66D9C3
tetradic
#C366D9 #D98A66 #7CD966 #66B5D9
square
#C366D9 #D98A66 #7CD966 #66B5D9
split-complementary
#C366D9 #B5D966 #66D98A
monochromatic
#87279D #B035CD #C366D9 #D697E5 #E9C8F1

Accessibility & contrast

On white

3.37
#C366D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#C366D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366D9#FFFFFF#000000##000000
##C366D91.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DD
Deuteranopia (green-blind)
#6E8FD6
Tritanopia (blue-blind)
#C47796
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c366d9;
/* rgb */ color: rgb(195, 102, 217);
/* oklch */ color: oklch(66.2% 0.187 319.7);
Tailwind
colors: {
  custom: {
    50: '#d795e5',
    500: '#c366d9',
    950: '#000000',
  },
}
SCSS
$custom: #c366d9;
$custom-light: #d795e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c366d9",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 288.522,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.662,
    "c": 0.18699,
    "h": 319.7
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#C366D9
secondary
#C0E2B8
accent
#C81E3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366D9

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

Preview Lab → · Contrast checker → · Palette generator →

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