#CC6EF5#CC6EF5

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

Color values

HEX#CC6EF5
RGBrgb(204, 110, 245)
HSLhsl(282, 87%, 70%)
HSVhsv(282, 55%, 96%)
CMYKcmyk(16.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(62.15, 58.39, -52.81)
CIE-LCHlch(62.15, 78.73, 317.88°)
OKLaboklab(69.84% 0.145 -0.1476)
OKLCHoklch(69.84% 0.207 314.5)
XYZxyz(46.9565, 30.5832, 89.7981)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EF5 #97F56E
analogous
#896EF5 #CC6EF5 #F56EDA
triadic
#CC6EF5 #F5CC6E #6EF5CC
tetradic
#CC6EF5 #F5896E #97F56E #6EDAF5
square
#CC6EF5 #F5896E #97F56E #6EDAF5
split-complementary
#CC6EF5 #DAF56E #6EF589
monochromatic
#9C0FDA #B835F1 #CC6EF5 #E0A7F9 #F4E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6EF5#FFFFFF#000000##000000
##CC6EF51.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)
#4A91F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#C984A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6ef5;
/* rgb */ color: rgb(204, 110, 245);
/* oklch */ color: oklch(69.8% 0.207 314.5);
Tailwind
colors: {
  custom: {
    50: '#de9bf9',
    500: '#cc6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ef5;
$custom-light: #de9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ef5",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 281.778,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69842,
    "c": 0.20689,
    "h": 314.5
  },
  "luminance": 0.30582
}

Semantic roles & 50–950 ramp

primary
#CC6EF5
secondary
#D8F3CC
accent
#E40246
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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