#C26CEE#C26CEE

#C26CEE is a light, vivid violet. Relative luminance 0.284; OKLCH L 68.0% C 0.199 H 312.8°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#C26CEE
RGBrgb(194, 108, 238)
HSLhsl(280, 79%, 68%)
HSVhsv(280, 55%, 93%)
CMYKcmyk(18.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(60.22, 55.42, -52.07)
CIE-LCHlch(60.22, 76.05, 316.78°)
OKLaboklab(68.05% 0.1352 -0.1457)
OKLCHoklch(68.05% 0.199 312.8)
XYZxyz(43.0407, 28.3686, 84.0807)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C26CEE #98EE6C
analogous
#816CEE #C26CEE #EE6CD9
triadic
#C26CEE #EEC26C #6CEEC2
tetradic
#C26CEE #EE816C #98EE6C #6CD9EE
square
#C26CEE #EE816C #98EE6C #6CD9EE
split-complementary
#C26CEE #D9EE6C #6CEE81
monochromatic
#8C17C8 #AB35E8 #C26CEE #D9A3F4 #F0DAFB

Accessibility & contrast

On white

3.15
#C26CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#C26CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C26CEE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C26CEE#FFFFFF#000000##000000
##C26CEE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#BE82A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c26cee;
/* rgb */ color: rgb(194, 108, 238);
/* oklch */ color: oklch(68.0% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#d799f4',
    500: '#c26cee',
    950: '#000000',
  },
}
SCSS
$custom: #c26cee;
$custom-light: #d799f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c26cee",
  "rgb": {
    "r": 194,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 279.692,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68045,
    "c": 0.19878,
    "h": 312.8
  },
  "luminance": 0.28368
}

Semantic roles & 50–950 ramp

primary
#C26CEE
secondary
#D4EFC7
accent
#DC0A51
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C26CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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