#C366E2#C366E2

#C366E2 is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.196 H 317.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#C366E2
RGBrgb(195, 102, 226)
HSLhsl(285, 68%, 64%)
HSVhsv(285, 55%, 89%)
CMYKcmyk(13.7%, 54.9%, 0%, 11.4%)
CIE-LABlab(58.60, 56.19, -47.94)
CIE-LCHlch(58.60, 73.86, 319.53°)
OKLaboklab(66.68% 0.1433 -0.1336)
OKLCHoklch(66.68% 0.196 317)
XYZxyz(40.9825, 26.5973, 74.9117)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366E2 #85E266
analogous
#8566E2 #C366E2 #E266C3
triadic
#C366E2 #E2C366 #66E2C3
tetradic
#C366E2 #E28566 #85E266 #66C3E2
square
#C366E2 #E28566 #85E266 #66C3E2
split-complementary
#C366E2 #C3E266 #66E285
monochromatic
#8A21AD #AF33D8 #C366E2 #D799EC #EBCDF6

Accessibility & contrast

On white

3.32
#C366E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#C366E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366E2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366E2#FFFFFF#000000##000000
##C366E21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#C27A9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c366e2;
/* rgb */ color: rgb(195, 102, 226);
/* oklch */ color: oklch(66.7% 0.196 317.0);
Tailwind
colors: {
  custom: {
    50: '#d895eb',
    500: '#c366e2',
    950: '#000000',
  },
}
SCSS
$custom: #c366e2;
$custom-light: #d895eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c366e2",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 285,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6668,
    "c": 0.19595,
    "h": 317
  },
  "luminance": 0.26596
}

Semantic roles & 50–950 ramp

primary
#C366E2
secondary
#C7E7BC
accent
#D01544
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366E2

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

Preview Lab → · Contrast checker → · Palette generator →

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