#C366E4#C366E4

#C366E4 is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.198 H 316.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C366E4
RGBrgb(195, 102, 228)
HSLhsl(284, 70%, 65%)
HSVhsv(284, 55%, 89%)
CMYKcmyk(14.5%, 55.3%, 0%, 10.6%)
CIE-LABlab(58.70, 56.59, -48.90)
CIE-LCHlch(58.70, 74.79, 319.17°)
OKLaboklab(66.79% 0.1434 -0.1364)
OKLCHoklch(66.79% 0.198 316.4)
XYZxyz(41.2586, 26.7077, 76.3655)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366E4 #87E466
analogous
#8466E4 #C366E4 #E466C6
triadic
#C366E4 #E4C366 #66E4C3
tetradic
#C366E4 #E48466 #87E466 #66C6E4
square
#C366E4 #E48466 #87E466 #66C6E4
split-complementary
#C366E4 #C6E466 #66E484
monochromatic
#8A1FB0 #AF32DB #C366E4 #D79AED #ECCEF6

Accessibility & contrast

On white

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

On black

6.34
#C366E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366E4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366E4#FFFFFF#000000##000000
##C366E41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E8
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#C17A9C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c366e4;
/* rgb */ color: rgb(195, 102, 228);
/* oklch */ color: oklch(66.8% 0.198 316.4);
Tailwind
colors: {
  custom: {
    50: '#d895ed',
    500: '#c366e4',
    950: '#000000',
  },
}
SCSS
$custom: #c366e4;
$custom-light: #d895ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c366e4",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 284.286,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.19796,
    "h": 316.4
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

primary
#C366E4
secondary
#C9E9BD
accent
#D21445
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C366E4

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

Preview Lab → · Contrast checker → · Palette generator →

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