#C66EFE#C66EFE

#C66EFE is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.7% C 0.214 H 310.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C66EFE
RGBrgb(198, 110, 254)
HSLhsl(277, 99%, 71%)
HSVhsv(277, 57%, 100%)
CMYKcmyk(22%, 56.7%, 0%, 0.4%)
CIE-LABlab(61.92, 58.81, -58.18)
CIE-LCHlch(61.92, 82.72, 315.31°)
OKLaboklab(69.68% 0.1381 -0.1635)
OKLCHoklch(69.68% 0.214 310.2)
XYZxyz(46.7506, 30.3143, 97.1352)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66EFE #A6FE6E
analogous
#7E6EFE #C66EFE #FE6EEE
triadic
#C66EFE #FEC66E #6EFEC6
tetradic
#C66EFE #FE7E6E #A6FE6E #6EEEFE
square
#C66EFE #FE7E6E #A6FE6E #6EEEFE
split-complementary
#C66EFE #EEFE6E #6EFE7E
monochromatic
#9302F0 #AE31FE #C66EFE #DEABFE #F3E1FF

Accessibility & contrast

On white

2.97
#C66EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C66EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C66EFE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66EFE#FFFFFF#000000##000000
##C66EFE1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#BF88AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c66efe;
/* rgb */ color: rgb(198, 110, 254);
/* oklch */ color: oklch(69.7% 0.214 310.2);
Tailwind
colors: {
  custom: {
    50: '#db9bff',
    500: '#c66efe',
    950: '#000000',
  },
}
SCSS
$custom: #c66efe;
$custom-light: #db9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c66efe",
  "rgb": {
    "r": 198,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 276.667,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.21403,
    "h": 310.2
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#C66EFE
secondary
#E0F7D1
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C66EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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