#C668FB#C668FB

#C668FB is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.7% C 0.220 H 311.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#C668FB
RGBrgb(198, 104, 251)
HSLhsl(278, 95%, 70%)
HSVhsv(278, 59%, 98%)
CMYKcmyk(21.1%, 58.6%, 0%, 1.6%)
CIE-LABlab(60.67, 61.09, -58.53)
CIE-LCHlch(60.67, 84.60, 316.23°)
OKLaboklab(68.71% 0.1454 -0.1645)
OKLCHoklch(68.71% 0.22 311.5)
XYZxyz(45.6484, 28.8725, 94.4163)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668FB #9DFB68
analogous
#7C68FB #C668FB #FB68E7
triadic
#C668FB #FBC668 #68FBC6
tetradic
#C668FB #FB7C68 #9DFB68 #68E7FB
square
#C668FB #FB7C68 #9DFB68 #68E7FB
split-complementary
#C668FB #E7FB68 #68FB7C
monochromatic
#9306E3 #AF2CF9 #C668FB #DDA4FD #F3DFFE

Accessibility & contrast

On white

3.10
#C668FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#C668FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668FB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668FB#FFFFFF#000000##000000
##C668FB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#C083A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c668fb;
/* rgb */ color: rgb(198, 104, 251);
/* oklch */ color: oklch(68.7% 0.220 311.5);
Tailwind
colors: {
  custom: {
    50: '#db97fd',
    500: '#c668fb',
    950: '#000000',
  },
}
SCSS
$custom: #c668fb;
$custom-light: #db97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c668fb",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 278.367,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68705,
    "c": 0.21952,
    "h": 311.5
  },
  "luminance": 0.28871
}

Semantic roles & 50–950 ramp

primary
#C668FB
secondary
#DAF4CA
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C668FB

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

Preview Lab → · Contrast checker → · Palette generator →

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