#C668F7#C668F7

#C668F7 is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.5% C 0.215 H 312.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C668F7
RGBrgb(198, 104, 247)
HSLhsl(279, 90%, 69%)
HSVhsv(279, 58%, 97%)
CMYKcmyk(19.8%, 57.9%, 0%, 3.1%)
CIE-LABlab(60.45, 60.25, -56.67)
CIE-LCHlch(60.45, 82.72, 316.75°)
OKLaboklab(68.47% 0.1453 -0.159)
OKLCHoklch(68.47% 0.215 312.4)
XYZxyz(45.0246, 28.6229, 91.1306)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668F7 #99F768
analogous
#7F68F7 #C668F7 #F768E0
triadic
#C668F7 #F7C668 #68F7C6
tetradic
#C668F7 #F77F68 #99F768 #68E0F7
square
#C668F7 #F77F68 #99F768 #68E0F7
split-complementary
#C668F7 #E0F768 #68F77F
monochromatic
#930CD9 #B02EF4 #C668F7 #DCA2FA #F2DCFD

Accessibility & contrast

On white

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

On black

6.72
#C668F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668F7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668F7#FFFFFF#000000##000000
##C668F71.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#C182A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c668f7;
/* rgb */ color: rgb(198, 104, 247);
/* oklch */ color: oklch(68.5% 0.215 312.4);
Tailwind
colors: {
  custom: {
    50: '#da97fa',
    500: '#c668f7',
    950: '#000000',
  },
}
SCSS
$custom: #c668f7;
$custom-light: #da97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c668f7",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 279.441,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.21544,
    "h": 312.4
  },
  "luminance": 0.28622
}

Semantic roles & 50–950 ramp

primary
#C668F7
secondary
#D7F3C8
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C668F7

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

Preview Lab → · Contrast checker → · Palette generator →

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