#C668F8#C668F8

#C668F8 is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.5% C 0.216 H 312.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#C668F8
RGBrgb(198, 104, 248)
HSLhsl(279, 91%, 69%)
HSVhsv(279, 58%, 97%)
CMYKcmyk(20.2%, 58.1%, 0%, 2.7%)
CIE-LABlab(60.50, 60.46, -57.14)
CIE-LCHlch(60.50, 83.19, 316.62°)
OKLaboklab(68.53% 0.1453 -0.1604)
OKLCHoklch(68.53% 0.216 312.2)
XYZxyz(45.1793, 28.6848, 91.9455)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668F8 #9AF868
analogous
#7E68F8 #C668F8 #F868E2
triadic
#C668F8 #F8C668 #68F8C6
tetradic
#C668F8 #F87E68 #9AF868 #68E2F8
square
#C668F8 #F87E68 #9AF868 #68E2F8
split-complementary
#C668F8 #E2F868 #68F87E
monochromatic
#930ADB #B02EF5 #C668F8 #DCA2FB #F2DDFD

Accessibility & contrast

On white

3.12
#C668F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#C668F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668F8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668F8#FFFFFF#000000##000000
##C668F81.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#C182A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c668f8;
/* rgb */ color: rgb(198, 104, 248);
/* oklch */ color: oklch(68.5% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#db97fb',
    500: '#c668f8',
    950: '#000000',
  },
}
SCSS
$custom: #c668f8;
$custom-light: #db97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c668f8",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 279.167,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.21646,
    "h": 312.2
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#C668F8
secondary
#D7F3C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C668F8

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

Preview Lab → · Contrast checker → · Palette generator →

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