#C366F2#C366F2

#C366F2 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.6% C 0.212 H 312.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C366F2
RGBrgb(195, 102, 242)
HSLhsl(280, 84%, 67%)
HSVhsv(280, 58%, 95%)
CMYKcmyk(19.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(59.45, 59.46, -55.52)
CIE-LCHlch(59.45, 81.35, 316.96°)
OKLaboklab(67.58% 0.1441 -0.1557)
OKLCHoklch(67.58% 0.212 312.8)
XYZxyz(43.2813, 27.5168, 87.0185)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C366F2 #95F266
analogous
#7D66F2 #C366F2 #F266DB
triadic
#C366F2 #F2C366 #66F2C3
tetradic
#C366F2 #F27D66 #95F266 #66DBF2
square
#C366F2 #F27D66 #95F266 #66DBF2
split-complementary
#C366F2 #DBF266 #66F27D
monochromatic
#8E11CC #AD2EED #C366F2 #D99EF7 #EFD7FC

Accessibility & contrast

On white

3.23
#C366F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C366F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C366F2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C366F2#FFFFFF#000000##000000
##C366F21.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#BE7FA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c366f2;
/* rgb */ color: rgb(195, 102, 242);
/* oklch */ color: oklch(67.6% 0.212 312.8);
Tailwind
colors: {
  custom: {
    50: '#d896f7',
    500: '#c366f2',
    950: '#000000',
  },
}
SCSS
$custom: #c366f2;
$custom-light: #d896f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c366f2",
  "rgb": {
    "r": 195,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 279.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67577,
    "c": 0.21214,
    "h": 312.8
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#C366F2
secondary
#D3F0C4
accent
#E1054F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C366F2

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

Preview Lab → · Contrast checker → · Palette generator →

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