#CC6EF2#CC6EF2

#CC6EF2 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.7% C 0.204 H 315.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CC6EF2
RGBrgb(204, 110, 242)
HSLhsl(283, 84%, 69%)
HSVhsv(283, 55%, 95%)
CMYKcmyk(15.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(62.00, 57.78, -51.39)
CIE-LCHlch(62.00, 77.33, 318.35°)
OKLaboklab(69.68% 0.1448 -0.1435)
OKLCHoklch(69.68% 0.204 315.2)
XYZxyz(46.5023, 30.4015, 87.4057)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EF2 #94F26E
analogous
#8A6EF2 #CC6EF2 #F26ED6
triadic
#CC6EF2 #F2CC6E #6EF2CC
tetradic
#CC6EF2 #F28A6E #94F26E #6ED6F2
square
#CC6EF2 #F28A6E #94F26E #6ED6F2
split-complementary
#CC6EF2 #D6F26E #6EF28A
monochromatic
#9B13D3 #B836ED #CC6EF2 #E0A6F7 #F4DEFC

Accessibility & contrast

On white

2.97
#CC6EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CC6EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EF2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EF2#FFFFFF#000000##000000
##CC6EF21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#6D98EF
Tritanopia (blue-blind)
#CA84A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6ef2;
/* rgb */ color: rgb(204, 110, 242);
/* oklch */ color: oklch(69.7% 0.204 315.2);
Tailwind
colors: {
  custom: {
    50: '#de9bf7',
    500: '#cc6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ef2;
$custom-light: #de9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ef2",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 282.727,
    "s": 83.544,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69678,
    "c": 0.20384,
    "h": 315.2
  },
  "luminance": 0.304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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