#CC7EF3#CC7EF3

#CC7EF3 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.180 H 313.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CC7EF3
RGBrgb(204, 126, 243)
HSLhsl(280, 83%, 72%)
HSVhsv(280, 48%, 95%)
CMYKcmyk(16%, 48.1%, 0%, 4.7%)
CIE-LABlab(65.15, 49.89, -46.97)
CIE-LCHlch(65.15, 68.52, 316.72°)
OKLaboklab(72.02% 0.1238 -0.1307)
OKLCHoklch(72.02% 0.18 313.4)
XYZxyz(48.5377, 34.2313, 88.8271)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EF3 #A5F37E
analogous
#927EF3 #CC7EF3 #F37EE0
triadic
#CC7EF3 #F3CC7E #7EF3CC
tetradic
#CC7EF3 #F3927E #A5F37E #7EE0F3
square
#CC7EF3 #F3927E #A5F37E #7EE0F3
split-complementary
#CC7EF3 #E0F37E #7EF392
monochromatic
#9D15E2 #B646EE #CC7EF3 #E2B6F8 #F4E3FC

Accessibility & contrast

On white

2.68
#CC7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CC7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EF3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EF3#FFFFFF#000000##000000
##CC7EF31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#7BA0F0
Tritanopia (blue-blind)
#C990AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7ef3;
/* rgb */ color: rgb(204, 126, 243);
/* oklch */ color: oklch(72.0% 0.180 313.4);
Tailwind
colors: {
  custom: {
    50: '#dea5f7',
    500: '#cc7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ef3;
$custom-light: #dea5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ef3",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 280,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72018,
    "c": 0.18005,
    "h": 313.4
  },
  "luminance": 0.3423
}

Semantic roles & 50–950 ramp

primary
#CC7EF3
secondary
#E1F4D7
accent
#DF064F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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