#C366F6#C366F6

#C366F6 is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.8% C 0.216 H 311.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C366F6
RGBrgb(195, 102, 246)
HSLhsl(279, 89%, 68%)
HSVhsv(279, 59%, 96%)
CMYKcmyk(20.7%, 58.5%, 0%, 3.5%)
CIE-LABlab(59.67, 60.29, -57.38)
CIE-LCHlch(59.67, 83.23, 316.42°)
OKLaboklab(67.81% 0.1441 -0.1612)
OKLCHoklch(67.81% 0.216 311.8)
XYZxyz(43.8886, 27.7597, 90.2171)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366F6 #99F666
analogous
#7B66F6 #C366F6 #F666E1
triadic
#C366F6 #F6C366 #66F6C3
tetradic
#C366F6 #F67B66 #99F666 #66E1F6
square
#C366F6 #F67B66 #99F666 #66E1F6
split-complementary
#C366F6 #E1F666 #66F67B
monochromatic
#8E0DD5 #AC2CF3 #C366F6 #DAA0F9 #F0DAFD

Accessibility & contrast

On white

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

On black

6.55
#C366F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366F6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366F6#FFFFFF#000000##000000
##C366F61.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFB
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#BD80A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c366f6;
/* rgb */ color: rgb(195, 102, 246);
/* oklch */ color: oklch(67.8% 0.216 311.8);
Tailwind
colors: {
  custom: {
    50: '#d896fa',
    500: '#c366f6',
    950: '#000000',
  },
}
SCSS
$custom: #c366f6;
$custom-light: #d896fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c366f6",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 278.75,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.21622,
    "h": 311.8
  },
  "luminance": 0.27759
}

Semantic roles & 50–950 ramp

primary
#C366F6
secondary
#D6F2C6
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C366F6

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

Preview Lab → · Contrast checker → · Palette generator →

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