#C668FE#C668FE

#C668FE is a light, highly saturated violet. Relative luminance 0.291; OKLCH L 68.9% C 0.223 H 310.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#C668FE
RGBrgb(198, 104, 254)
HSLhsl(278, 99%, 70%)
HSVhsv(278, 59%, 100%)
CMYKcmyk(22%, 59.1%, 0%, 0.4%)
CIE-LABlab(60.84, 61.72, -59.92)
CIE-LCHlch(60.84, 86.02, 315.85°)
OKLaboklab(68.88% 0.1454 -0.1685)
OKLCHoklch(68.88% 0.223 310.8)
XYZxyz(46.1251, 29.0631, 96.9266)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668FE #A0FE68
analogous
#7B68FE #C668FE #FE68EB
triadic
#C668FE #FEC668 #68FEC6
tetradic
#C668FE #FE7B68 #A0FE68 #68EBFE
square
#C668FE #FE7B68 #A0FE68 #68EBFE
split-complementary
#C668FE #EBFE68 #68FE7B
monochromatic
#9302EA #AF2BFE #C668FE #DDA5FE #F4E1FF

Accessibility & contrast

On white

3.08
#C668FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#C668FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668FE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668FE#FFFFFF#000000##000000
##C668FE1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#BF84AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c668fe;
/* rgb */ color: rgb(198, 104, 254);
/* oklch */ color: oklch(68.9% 0.223 310.8);
Tailwind
colors: {
  custom: {
    50: '#db97ff',
    500: '#c668fe',
    950: '#000000',
  },
}
SCSS
$custom: #c668fe;
$custom-light: #db97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c668fe",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 277.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68882,
    "c": 0.22258,
    "h": 310.8
  },
  "luminance": 0.29062
}

Semantic roles & 50–950 ramp

primary
#C668FE
secondary
#DCF6CC
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C668FE

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

Preview Lab → · Contrast checker → · Palette generator →

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