#C366E5#C366E5

#C366E5 is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.199 H 316.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#C366E5
RGBrgb(195, 102, 229)
HSLhsl(284, 71%, 65%)
HSVhsv(284, 55%, 90%)
CMYKcmyk(14.8%, 55.5%, 0%, 10.2%)
CIE-LABlab(58.75, 56.79, -49.37)
CIE-LCHlch(58.75, 75.25, 319.00°)
OKLaboklab(66.84% 0.1435 -0.1378)
OKLCHoklch(66.84% 0.199 316.2)
XYZxyz(41.3978, 26.7634, 77.0987)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366E5 #88E566
analogous
#8366E5 #C366E5 #E566C8
triadic
#C366E5 #E5C366 #66E5C3
tetradic
#C366E5 #E58366 #88E566 #66C8E5
square
#C366E5 #E58366 #88E566 #66C8E5
split-complementary
#C366E5 #C8E566 #66E583
monochromatic
#8B1EB2 #AE32DC #C366E5 #D89AEE #ECCFF7

Accessibility & contrast

On white

3.31
#C366E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#C366E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366E5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366E5#FFFFFF#000000##000000
##C366E51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4788E9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#C17B9C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c366e5;
/* rgb */ color: rgb(195, 102, 229);
/* oklch */ color: oklch(66.8% 0.199 316.2);
Tailwind
colors: {
  custom: {
    50: '#d895ee',
    500: '#c366e5',
    950: '#000000',
  },
}
SCSS
$custom: #c366e5;
$custom-light: #d895ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c366e5",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 283.937,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66844,
    "c": 0.19896,
    "h": 316.2
  },
  "luminance": 0.26762
}

Semantic roles & 50–950 ramp

primary
#C366E5
secondary
#C9E9BE
accent
#D31346
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366E5

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

Preview Lab → · Contrast checker → · Palette generator →

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