#C266EA#C266EA

#C266EA is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.0% C 0.204 H 314.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C266EA
RGBrgb(194, 102, 234)
HSLhsl(282, 76%, 66%)
HSVhsv(282, 56%, 92%)
CMYKcmyk(17.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(58.89, 57.56, -51.95)
CIE-LCHlch(58.89, 77.54, 317.93°)
OKLaboklab(67.01% 0.1426 -0.1454)
OKLCHoklch(67.01% 0.204 314.4)
XYZxyz(41.8484, 26.9138, 80.8164)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266EA #8EEA66
analogous
#8066EA #C266EA #EA66D0
triadic
#C266EA #EAC266 #66EAC2
tetradic
#C266EA #EA8066 #8EEA66 #66D0EA
square
#C266EA #EA8066 #8EEA66 #66D0EA
split-complementary
#C266EA #D0EA66 #66EA80
monochromatic
#8B1ABC #AD30E3 #C266EA #D79CF1 #EDD2F9

Accessibility & contrast

On white

3.29
#C266EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C266EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266EA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266EA#FFFFFF#000000##000000
##C266EA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#BF7C9F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c266ea;
/* rgb */ color: rgb(194, 102, 234);
/* oklch */ color: oklch(67.0% 0.204 314.4);
Tailwind
colors: {
  custom: {
    50: '#d796f1',
    500: '#c266ea',
    950: '#000000',
  },
}
SCSS
$custom: #c266ea;
$custom-light: #d796f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c266ea",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 281.818,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.20361,
    "h": 314.4
  },
  "luminance": 0.26913
}

Semantic roles & 50–950 ramp

primary
#C266EA
secondary
#CDECC0
accent
#D80D4B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C266EA

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

Preview Lab → · Contrast checker → · Palette generator →

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