#C366E1#C366E1

#C366E1 is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.6% C 0.195 H 317.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#C366E1
RGBrgb(195, 102, 225)
HSLhsl(285, 67%, 64%)
HSVhsv(285, 55%, 88%)
CMYKcmyk(13.3%, 54.7%, 0%, 11.8%)
CIE-LABlab(58.55, 55.99, -47.46)
CIE-LCHlch(58.55, 73.40, 319.71°)
OKLaboklab(66.63% 0.1432 -0.1322)
OKLCHoklch(66.63% 0.195 317.3)
XYZxyz(40.8457, 26.5425, 74.1912)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366E1 #84E166
analogous
#8666E1 #C366E1 #E166C2
triadic
#C366E1 #E1C366 #66E1C3
tetradic
#C366E1 #E18666 #84E166 #66C2E1
square
#C366E1 #E18666 #84E166 #66C2E1
split-complementary
#C366E1 #C2E166 #66E186
monochromatic
#8A22AB #AF33D7 #C366E1 #D799EB #EBCCF5

Accessibility & contrast

On white

3.33
#C366E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#C366E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366E1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366E1#FFFFFF#000000##000000
##C366E11.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#C2799A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c366e1;
/* rgb */ color: rgb(195, 102, 225);
/* oklch */ color: oklch(66.6% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#d895eb',
    500: '#c366e1',
    950: '#000000',
  },
}
SCSS
$custom: #c366e1;
$custom-light: #d895eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c366e1",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 285.366,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66626,
    "c": 0.19495,
    "h": 317.3
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#C366E1
secondary
#C6E7BC
accent
#CF1643
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366E1

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

Preview Lab → · Contrast checker → · Palette generator →

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