#CC6DF7#CC6DF7

#CC6DF7 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.8% C 0.210 H 314.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CC6DF7
RGBrgb(204, 109, 247)
HSLhsl(281, 90%, 70%)
HSVhsv(281, 56%, 97%)
CMYKcmyk(17.4%, 55.9%, 0%, 3.1%)
CIE-LABlab(62.08, 59.29, -54.04)
CIE-LCHlch(62.08, 80.22, 317.65°)
OKLaboklab(69.82% 0.1463 -0.1512)
OKLCHoklch(69.82% 0.21 314.1)
XYZxyz(47.1562, 30.4914, 91.3790)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DF7 #98F76D
analogous
#876DF7 #CC6DF7 #F76DDD
triadic
#CC6DF7 #F7CC6D #6DF7CC
tetradic
#CC6DF7 #F7876D #98F76D #6DDDF7
square
#CC6DF7 #F7876D #98F76D #6DDDF7
split-complementary
#CC6DF7 #DDF76D #6DF787
monochromatic
#9C0CDD #B833F4 #CC6DF7 #E0A7FA #F5E1FD

Accessibility & contrast

On white

2.96
#CC6DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CC6DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6DF7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DF7#FFFFFF#000000##000000
##CC6DF71.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#6998F4
Tritanopia (blue-blind)
#C884A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6df7;
/* rgb */ color: rgb(204, 109, 247);
/* oklch */ color: oklch(69.8% 0.210 314.1);
Tailwind
colors: {
  custom: {
    50: '#de9bfa',
    500: '#cc6df7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6df7;
$custom-light: #de9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6df7",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 281.304,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.21041,
    "h": 314.1
  },
  "luminance": 0.3049
}

Semantic roles & 50–950 ramp

primary
#CC6DF7
secondary
#D9F3CC
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E17
muted
#847E85

Preview Lab

Preview with #CC6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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