#C664F8#C664F8

#C664F8 is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 68.0% C 0.222 H 312.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#C664F8
RGBrgb(198, 100, 248)
HSLhsl(280, 91%, 68%)
HSVhsv(280, 60%, 97%)
CMYKcmyk(20.2%, 59.7%, 0%, 2.7%)
CIE-LABlab(59.80, 62.37, -58.27)
CIE-LCHlch(59.80, 85.35, 316.95°)
OKLaboklab(68.02% 0.1502 -0.1637)
OKLCHoklch(68.02% 0.222 312.5)
XYZxyz(44.7862, 27.8986, 91.8145)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C664F8 #96F864
analogous
#7C64F8 #C664F8 #F864E0
triadic
#C664F8 #F8C664 #64F8C6
tetradic
#C664F8 #F87C64 #96F864 #64E0F8
square
#C664F8 #F87C64 #96F864 #64E0F8
split-complementary
#C664F8 #E0F864 #64F87C
monochromatic
#920AD8 #B029F5 #C664F8 #DC9FFB #F1D9FD

Accessibility & contrast

On white

3.19
#C664F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#C664F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C664F8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C664F8#FFFFFF#000000##000000
##C664F81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#C17FA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c664f8;
/* rgb */ color: rgb(198, 100, 248);
/* oklch */ color: oklch(68.0% 0.222 312.5);
Tailwind
colors: {
  custom: {
    50: '#db95fb',
    500: '#c664f8',
    950: '#000000',
  },
}
SCSS
$custom: #c664f8;
$custom-light: #db95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c664f8",
  "rgb": {
    "r": 198,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 279.73,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68016,
    "c": 0.22212,
    "h": 312.5
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#C664F8
secondary
#D5F2C5
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C664F8

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

Preview Lab → · Contrast checker → · Palette generator →

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