#C266F7#C266F7

#C266F7 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.8% C 0.217 H 311.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#C266F7
RGBrgb(194, 102, 247)
HSLhsl(278, 90%, 68%)
HSVhsv(278, 59%, 97%)
CMYKcmyk(21.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(59.61, 60.27, -58.04)
CIE-LCHlch(59.61, 83.68, 316.08°)
OKLaboklab(67.75% 0.1429 -0.1632)
OKLCHoklch(67.75% 0.217 311.2)
XYZxyz(43.7849, 27.6884, 91.0155)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266F7 #9BF766
analogous
#7966F7 #C266F7 #F766E3
triadic
#C266F7 #F7C266 #66F7C2
tetradic
#C266F7 #F77966 #9BF766 #66E3F7
square
#C266F7 #F77966 #9BF766 #66E3F7
split-complementary
#C266F7 #E3F766 #66F779
monochromatic
#8D0BD7 #AB2CF4 #C266F7 #D9A0FA #F0DAFD

Accessibility & contrast

On white

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

On black

6.54
#C266F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266F7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266F7#FFFFFF#000000##000000
##C266F71.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#BC81A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c266f7;
/* rgb */ color: rgb(194, 102, 247);
/* oklch */ color: oklch(67.8% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#d896fa',
    500: '#c266f7',
    950: '#000000',
  },
}
SCSS
$custom: #c266f7;
$custom-light: #d896fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c266f7",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 278.069,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67754,
    "c": 0.2169,
    "h": 311.2
  },
  "luminance": 0.27687
}

Semantic roles & 50–950 ramp

primary
#C266F7
secondary
#D7F2C7
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C266F7

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

Preview Lab → · Contrast checker → · Palette generator →

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