#C668FC#C668FC

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

Color values

HEX#C668FC
RGBrgb(198, 104, 252)
HSLhsl(278, 96%, 70%)
HSVhsv(278, 59%, 99%)
CMYKcmyk(21.4%, 58.7%, 0%, 1.2%)
CIE-LABlab(60.72, 61.30, -58.99)
CIE-LCHlch(60.72, 85.08, 316.10°)
OKLaboklab(68.76% 0.1454 -0.1658)
OKLCHoklch(68.76% 0.221 311.2)
XYZxyz(45.8065, 28.9357, 95.2487)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668FC #9EFC68
analogous
#7C68FC #C668FC #FC68E8
triadic
#C668FC #FCC668 #68FCC6
tetradic
#C668FC #FC7C68 #9EFC68 #68E8FC
square
#C668FC #FC7C68 #9EFC68 #68E8FC
split-complementary
#C668FC #E8FC68 #68FC7C
monochromatic
#9305E5 #AF2CFB #C668FC #DDA4FD #F3E0FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C668FC#FFFFFF#000000##000000
##C668FC1.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)
#328EFF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#C083A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c668fc;
/* rgb */ color: rgb(198, 104, 252);
/* oklch */ color: oklch(68.8% 0.221 311.2);
Tailwind
colors: {
  custom: {
    50: '#db97fe',
    500: '#c668fc',
    950: '#000000',
  },
}
SCSS
$custom: #c668fc;
$custom-light: #db97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c668fc",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 278.108,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68764,
    "c": 0.22054,
    "h": 311.2
  },
  "luminance": 0.28935
}

Semantic roles & 50–950 ramp

primary
#C668FC
secondary
#DAF5CB
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C668FC

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

Preview Lab → · Contrast checker → · Palette generator →

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