#C366EA#C366EA

#C366EA is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.1% C 0.204 H 314.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C366EA
RGBrgb(195, 102, 234)
HSLhsl(282, 76%, 66%)
HSVhsv(282, 56%, 92%)
CMYKcmyk(16.7%, 56.4%, 0%, 8.2%)
CIE-LABlab(59.02, 57.81, -51.75)
CIE-LCHlch(59.02, 77.59, 318.16°)
OKLaboklab(67.12% 0.1438 -0.1447)
OKLCHoklch(67.12% 0.204 314.8)
XYZxyz(42.1059, 27.0466, 80.8284)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366EA #8DEA66
analogous
#8166EA #C366EA #EA66CF
triadic
#C366EA #EAC366 #66EAC3
tetradic
#C366EA #EA8166 #8DEA66 #66CFEA
square
#C366EA #EA8166 #8DEA66 #66CFEA
split-complementary
#C366EA #CFEA66 #66EA81
monochromatic
#8C1ABC #AE30E3 #C366EA #D89CF1 #EDD2F9

Accessibility & contrast

On white

3.28
#C366EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C366EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366EA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366EA#FFFFFF#000000##000000
##C366EA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#C07C9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c366ea;
/* rgb */ color: rgb(195, 102, 234);
/* oklch */ color: oklch(67.1% 0.204 314.8);
Tailwind
colors: {
  custom: {
    50: '#d896f1',
    500: '#c366ea',
    950: '#000000',
  },
}
SCSS
$custom: #c366ea;
$custom-light: #d896f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c366ea",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 282.273,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67121,
    "c": 0.20401,
    "h": 314.8
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#C366EA
secondary
#CDECC0
accent
#D80D49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C366EA

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

Preview Lab → · Contrast checker → · Palette generator →

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