#C668E5#C668E5

#C668E5 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.5% C 0.197 H 317.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#C668E5
RGBrgb(198, 104, 229)
HSLhsl(285, 71%, 65%)
HSVhsv(285, 55%, 90%)
CMYKcmyk(13.5%, 54.6%, 0%, 10.2%)
CIE-LABlab(59.49, 56.58, -48.18)
CIE-LCHlch(59.49, 74.31, 319.58°)
OKLaboklab(67.47% 0.1445 -0.1343)
OKLCHoklch(67.47% 0.197 317.1)
XYZxyz(42.3798, 27.5650, 77.2017)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C668E5 #87E568
analogous
#8768E5 #C668E5 #E568C5
triadic
#C668E5 #E5C668 #68E5C6
tetradic
#C668E5 #E58768 #87E568 #68C5E5
square
#C668E5 #E58768 #87E568 #68C5E5
split-complementary
#C668E5 #C5E568 #68E587
monochromatic
#8F1FB4 #B234DC #C668E5 #DA9CEE #EDD0F7

Accessibility & contrast

On white

3.22
#C668E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#C668E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C668E5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C668E5#FFFFFF#000000##000000
##C668E51.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E9
Deuteranopia (green-blind)
#6B92E2
Tritanopia (blue-blind)
#C57C9D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c668e5;
/* rgb */ color: rgb(198, 104, 229);
/* oklch */ color: oklch(67.5% 0.197 317.1);
Tailwind
colors: {
  custom: {
    50: '#da97ee',
    500: '#c668e5',
    950: '#000000',
  },
}
SCSS
$custom: #c668e5;
$custom-light: #da97ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c668e5",
  "rgb": {
    "r": 198,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 285.12,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.19725,
    "h": 317.1
  },
  "luminance": 0.27564
}

Semantic roles & 50–950 ramp

primary
#C668E5
secondary
#CAE9BF
accent
#D31342
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C668E5

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

Preview Lab → · Contrast checker → · Palette generator →

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