#C266FB#C266FB

#C266FB is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 68.0% C 0.221 H 310.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#C266FB
RGBrgb(194, 102, 251)
HSLhsl(277, 95%, 69%)
HSVhsv(277, 59%, 98%)
CMYKcmyk(22.7%, 59.4%, 0%, 1.6%)
CIE-LABlab(59.83, 61.12, -59.89)
CIE-LCHlch(59.83, 85.57, 315.58°)
OKLaboklab(67.99% 0.1429 -0.1686)
OKLCHoklch(67.99% 0.221 310.3)
XYZxyz(44.4088, 27.9380, 94.3012)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266FB #9FFB66
analogous
#7866FB #C266FB #FB66E9
triadic
#C266FB #FBC266 #66FBC2
tetradic
#C266FB #FB7866 #9FFB66 #66E9FB
square
#C266FB #FB7866 #9FFB66 #66E9FB
split-complementary
#C266FB #E9FB66 #66FB78
monochromatic
#8D06E1 #AA2AF9 #C266FB #DAA2FD #F2DDFE

Accessibility & contrast

On white

3.19
#C266FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#C266FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266FB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266FB#FFFFFF#000000##000000
##C266FB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#BB82A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c266fb;
/* rgb */ color: rgb(194, 102, 251);
/* oklch */ color: oklch(68.0% 0.221 310.3);
Tailwind
colors: {
  custom: {
    50: '#d896fd',
    500: '#c266fb',
    950: '#000000',
  },
}
SCSS
$custom: #c266fb;
$custom-light: #d896fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c266fb",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 277.047,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67992,
    "c": 0.22101,
    "h": 310.3
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

primary
#C266FB
secondary
#D9F4C9
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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