#CC6FF2#CC6FF2

#CC6FF2 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 69.8% C 0.202 H 315.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC6FF2
RGBrgb(204, 111, 242)
HSLhsl(283, 83%, 69%)
HSVhsv(283, 54%, 95%)
CMYKcmyk(15.7%, 54.1%, 0%, 5.1%)
CIE-LABlab(62.18, 57.29, -51.10)
CIE-LCHlch(62.18, 76.77, 318.27°)
OKLaboklab(69.81% 0.1435 -0.1427)
OKLCHoklch(69.81% 0.202 315.2)
XYZxyz(46.6108, 30.6185, 87.4418)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FF2 #95F26F
analogous
#8B6FF2 #CC6FF2 #F26FD7
triadic
#CC6FF2 #F2CC6F #6FF2CC
tetradic
#CC6FF2 #F28B6F #95F26F #6FD7F2
square
#CC6FF2 #F28B6F #95F26F #6FD7F2
split-complementary
#CC6FF2 #D7F26F #6FF28B
monochromatic
#9C13D4 #B837ED #CC6FF2 #E0A7F7 #F4DFFC

Accessibility & contrast

On white

2.95
#CC6FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC6FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FF2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FF2#FFFFFF#000000##000000
##CC6FF21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C984A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6ff2;
/* rgb */ color: rgb(204, 111, 242);
/* oklch */ color: oklch(69.8% 0.202 315.2);
Tailwind
colors: {
  custom: {
    50: '#de9cf7',
    500: '#cc6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ff2;
$custom-light: #de9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ff2",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 282.595,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.20234,
    "h": 315.2
  },
  "luminance": 0.30617
}

Semantic roles & 50–950 ramp

primary
#CC6FF2
secondary
#D6F1CB
accent
#E00645
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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