#C266F5#C266F5

#C266F5 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.6% C 0.215 H 311.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#C266F5
RGBrgb(194, 102, 245)
HSLhsl(279, 88%, 68%)
HSVhsv(279, 58%, 96%)
CMYKcmyk(20.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(59.49, 59.85, -57.12)
CIE-LCHlch(59.49, 82.73, 316.34°)
OKLaboklab(67.64% 0.1429 -0.1604)
OKLCHoklch(67.64% 0.215 311.7)
XYZxyz(43.4780, 27.5657, 89.3988)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C266F5 #99F566
analogous
#7A66F5 #C266F5 #F566E1
triadic
#C266F5 #F5C266 #66F5C2
tetradic
#C266F5 #F57A66 #99F566 #66E1F5
square
#C266F5 #F57A66 #99F566 #66E1F5
split-complementary
#C266F5 #E1F566 #66F57A
monochromatic
#8D0ED3 #AB2DF1 #C266F5 #D99FF9 #F0D9FD

Accessibility & contrast

On white

3.22
#C266F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#C266F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C266F5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C266F5#FFFFFF#000000##000000
##C266F51.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFA
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#BC80A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c266f5;
/* rgb */ color: rgb(194, 102, 245);
/* oklch */ color: oklch(67.6% 0.215 311.7);
Tailwind
colors: {
  custom: {
    50: '#d896f9',
    500: '#c266f5',
    950: '#000000',
  },
}
SCSS
$custom: #c266f5;
$custom-light: #d896f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c266f5",
  "rgb": {
    "r": 194,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 278.601,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.21485,
    "h": 311.7
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

primary
#C266F5
secondary
#D5F1C6
accent
#E40152
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C266F5

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

Preview Lab → · Contrast checker → · Palette generator →

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