#C266CA#C266CA

#C266CA is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.3% C 0.172 H 324.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C266CA
RGBrgb(194, 102, 202)
HSLhsl(295, 49%, 60%)
HSVhsv(295, 50%, 79%)
CMYKcmyk(4%, 49.5%, 0%, 20.8%)
CIE-LABlab(57.31, 51.26, -36.43)
CIE-LCHlch(57.31, 62.89, 324.60°)
OKLaboklab(65.32% 0.1395 -0.1004)
OKLCHoklch(65.32% 0.172 324.3)
XYZxyz(37.6592, 25.2382, 58.7535)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266CA #6ECA66
analogous
#9066CA #C266CA #CA66A0
triadic
#C266CA #CAC266 #66CAC2
tetradic
#C266CA #CA9066 #6ECA66 #66A0CA
square
#C266CA #CA9066 #6ECA66 #66A0CA
split-complementary
#C266CA #A0CA66 #66CA90
monochromatic
#802F87 #AB3EB4 #C266CA #D493DA #E6C1E9

Accessibility & contrast

On white

3.47
#C266CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C266CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266CA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266CA#FFFFFF#000000##000000
##C266CA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#758EC7
Tritanopia (blue-blind)
#C6728F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c266ca;
/* rgb */ color: rgb(194, 102, 202);
/* oklch */ color: oklch(65.3% 0.172 324.3);
Tailwind
colors: {
  custom: {
    50: '#d695da',
    500: '#c266ca',
    950: '#000000',
  },
}
SCSS
$custom: #c266ca;
$custom-light: #d695da;
$custom-dark: #000000;
JSON
{
  "hex": "#c266ca",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 295.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.17189,
    "h": 324.3
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#C266CA
secondary
#B6D9B2
accent
#D8505B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C266CA

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

Preview Lab → · Contrast checker → · Palette generator →

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