#C366F5#C366F5

#C366F5 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.8% C 0.215 H 312.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#C366F5
RGBrgb(195, 102, 245)
HSLhsl(279, 88%, 68%)
HSVhsv(279, 58%, 96%)
CMYKcmyk(20.4%, 58.4%, 0%, 3.9%)
CIE-LABlab(59.62, 60.08, -56.92)
CIE-LCHlch(59.62, 82.76, 316.55°)
OKLaboklab(67.75% 0.1441 -0.1598)
OKLCHoklch(67.75% 0.215 312)
XYZxyz(43.7355, 27.6985, 89.4109)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366F5 #98F566
analogous
#7B66F5 #C366F5 #F566DF
triadic
#C366F5 #F5C366 #66F5C3
tetradic
#C366F5 #F57B66 #98F566 #66DFF5
square
#C366F5 #F57B66 #98F566 #66DFF5
split-complementary
#C366F5 #DFF566 #66F57B
monochromatic
#8E0ED3 #AC2DF1 #C366F5 #DA9FF9 #F0D9FD

Accessibility & contrast

On white

3.21
#C366F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#C366F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366F5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366F5#FFFFFF#000000##000000
##C366F51.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#BD80A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c366f5;
/* rgb */ color: rgb(195, 102, 245);
/* oklch */ color: oklch(67.8% 0.215 312.0);
Tailwind
colors: {
  custom: {
    50: '#d896f9',
    500: '#c366f5',
    950: '#000000',
  },
}
SCSS
$custom: #c366f5;
$custom-light: #d896f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c366f5",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 279.021,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.21521,
    "h": 312
  },
  "luminance": 0.27697
}

Semantic roles & 50–950 ramp

primary
#C366F5
secondary
#D5F1C6
accent
#E40151
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C366F5

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

Preview Lab → · Contrast checker → · Palette generator →

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