#C666D7#C666D7

#C666D7 is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.5% C 0.187 H 321.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#C666D7
RGBrgb(198, 102, 215)
HSLhsl(291, 59%, 62%)
HSVhsv(291, 53%, 84%)
CMYKcmyk(7.9%, 52.6%, 0%, 15.7%)
CIE-LABlab(58.43, 54.82, -42.00)
CIE-LCHlch(58.43, 69.06, 322.55°)
OKLaboklab(66.46% 0.1458 -0.1163)
OKLCHoklch(66.46% 0.187 321.4)
XYZxyz(40.3044, 26.4166, 67.2527)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C666D7 #77D766
analogous
#8D66D7 #C666D7 #D766B0
triadic
#C666D7 #D7C666 #66D7C6
tetradic
#C666D7 #D78D66 #77D766 #66B0D7
square
#C666D7 #D78D66 #77D766 #66B0D7
split-complementary
#C666D7 #B0D766 #66D78D
monochromatic
#89289A #B435CA #C666D7 #D897E4 #EAC7F0

Accessibility & contrast

On white

3.34
#C666D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#C666D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C666D7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C666D7#FFFFFF#000000##000000
##C666D71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DB
Deuteranopia (green-blind)
#7290D4
Tritanopia (blue-blind)
#C87695
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c666d7;
/* rgb */ color: rgb(198, 102, 215);
/* oklch */ color: oklch(66.5% 0.187 321.4);
Tailwind
colors: {
  custom: {
    50: '#da95e4',
    500: '#c666d7',
    950: '#000000',
  },
}
SCSS
$custom: #c666d7;
$custom-light: #da95e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c666d7",
  "rgb": {
    "r": 198,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 290.973,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66458,
    "c": 0.18655,
    "h": 321.4
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#C666D7
secondary
#BEE1B8
accent
#C61F38
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #C666D7

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

Preview Lab → · Contrast checker → · Palette generator →

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