#C26AFE#C26AFE

#C26AFE is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.7% C 0.218 H 309.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C26AFE
RGBrgb(194, 106, 254)
HSLhsl(276, 99%, 71%)
HSVhsv(276, 58%, 100%)
CMYKcmyk(23.6%, 58.3%, 0%, 0.4%)
CIE-LABlab(60.72, 59.82, -60.13)
CIE-LCHlch(60.72, 84.82, 314.86°)
OKLaboklab(68.7% 0.1382 -0.1693)
OKLCHoklch(68.7% 0.218 309.2)
XYZxyz(45.2881, 28.9339, 96.9458)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C26AFE #A6FE6A
analogous
#786AFE #C26AFE #FE6AF0
triadic
#C26AFE #FEC26A #6AFEC2
tetradic
#C26AFE #FE786A #A6FE6A #6AF0FE
square
#C26AFE #FE786A #A6FE6A #6AF0FE
split-complementary
#C26AFE #F0FE6A #6AFE78
monochromatic
#8D02EC #A92DFE #C26AFE #DBA7FE #F3E1FF

Accessibility & contrast

On white

3.09
#C26AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C26AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C26AFE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C26AFE#FFFFFF#000000##000000
##C26AFE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#5794FA
Tritanopia (blue-blind)
#BA86AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c26afe;
/* rgb */ color: rgb(194, 106, 254);
/* oklch */ color: oklch(68.7% 0.218 309.2);
Tailwind
colors: {
  custom: {
    50: '#d898ff',
    500: '#c26afe',
    950: '#000000',
  },
}
SCSS
$custom: #c26afe;
$custom-light: #d898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c26afe",
  "rgb": {
    "r": 194,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 275.676,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68696,
    "c": 0.21849,
    "h": 309.2
  },
  "luminance": 0.28933
}

Semantic roles & 50–950 ramp

primary
#C26AFE
secondary
#DEF6CE
accent
#E6005D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C26AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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