#C668FD#C668FD

#C668FD is a light, highly saturated violet. Relative luminance 0.290; OKLCH L 68.8% C 0.222 H 311.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#C668FD
RGBrgb(198, 104, 253)
HSLhsl(278, 97%, 70%)
HSVhsv(278, 59%, 99%)
CMYKcmyk(21.7%, 58.9%, 0%, 0.8%)
CIE-LABlab(60.78, 61.51, -59.45)
CIE-LCHlch(60.78, 85.55, 315.97°)
OKLaboklab(68.82% 0.1454 -0.1672)
OKLCHoklch(68.82% 0.222 311)
XYZxyz(45.9654, 28.9992, 96.0855)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668FD #9FFD68
analogous
#7B68FD #C668FD #FD68EA
triadic
#C668FD #FDC668 #68FDC6
tetradic
#C668FD #FD7B68 #9FFD68 #68EAFD
square
#C668FD #FD7B68 #9FFD68 #68EAFD
split-complementary
#C668FD #EAFD68 #68FD7B
monochromatic
#9303E8 #AF2CFC #C668FD #DDA4FE #F4E1FF

Accessibility & contrast

On white

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

On black

6.80
#C668FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668FD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668FD#FFFFFF#000000##000000
##C668FD1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#5A94F9
Tritanopia (blue-blind)
#BF84A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c668fd;
/* rgb */ color: rgb(198, 104, 253);
/* oklch */ color: oklch(68.8% 0.222 311.0);
Tailwind
colors: {
  custom: {
    50: '#db97ff',
    500: '#c668fd',
    950: '#000000',
  },
}
SCSS
$custom: #c668fd;
$custom-light: #db97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c668fd",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 277.852,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.22156,
    "h": 311
  },
  "luminance": 0.28998
}

Semantic roles & 50–950 ramp

primary
#C668FD
secondary
#DBF5CC
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C668FD

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

Preview Lab → · Contrast checker → · Palette generator →

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