#C266EC#C266EC

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

Color values

HEX#C266EC
RGBrgb(194, 102, 236)
HSLhsl(281, 78%, 66%)
HSVhsv(281, 57%, 93%)
CMYKcmyk(17.8%, 56.8%, 0%, 7.5%)
CIE-LABlab(59.00, 57.97, -52.90)
CIE-LCHlch(59.00, 78.48, 317.62°)
OKLaboklab(67.12% 0.1427 -0.1481)
OKLCHoklch(67.12% 0.206 313.9)
XYZxyz(42.1373, 27.0294, 82.3381)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266EC #90EC66
analogous
#7F66EC #C266EC #EC66D3
triadic
#C266EC #ECC266 #66ECC2
tetradic
#C266EC #EC7F66 #90EC66 #66D3EC
square
#C266EC #EC7F66 #90EC66 #66D3EC
split-complementary
#C266EC #D3EC66 #66EC7F
monochromatic
#8B18C0 #AC30E5 #C266EC #D89CF3 #EDD3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C266EC#FFFFFF#000000##000000
##C266EC1.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)
#3F89F0
Deuteranopia (green-blind)
#6290E9
Tritanopia (blue-blind)
#BE7DA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c266ec;
/* rgb */ color: rgb(194, 102, 236);
/* oklch */ color: oklch(67.1% 0.206 313.9);
Tailwind
colors: {
  custom: {
    50: '#d796f3',
    500: '#c266ec',
    950: '#000000',
  },
}
SCSS
$custom: #c266ec;
$custom-light: #d796f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c266ec",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 281.194,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67118,
    "c": 0.20565,
    "h": 313.9
  },
  "luminance": 0.27028
}

Semantic roles & 50–950 ramp

primary
#C266EC
secondary
#CFEDC1
accent
#DA0B4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C266EC

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

Preview Lab → · Contrast checker → · Palette generator →

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