#CC7EF4#CC7EF4

#CC7EF4 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.181 H 313.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CC7EF4
RGBrgb(204, 126, 244)
HSLhsl(280, 84%, 73%)
HSVhsv(280, 48%, 96%)
CMYKcmyk(16.4%, 48.4%, 0%, 4.3%)
CIE-LABlab(65.19, 50.10, -47.45)
CIE-LCHlch(65.19, 69.00, 316.56°)
OKLaboklab(72.07% 0.1239 -0.1321)
OKLCHoklch(72.07% 0.181 313.2)
XYZxyz(48.6891, 34.2919, 89.6245)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EF4 #A6F47E
analogous
#917EF4 #CC7EF4 #F47EE1
triadic
#CC7EF4 #F4CC7E #7EF4CC
tetradic
#CC7EF4 #F4917E #A6F47E #7EE1F4
square
#CC7EF4 #F4917E #A6F47E #7EE1F4
split-complementary
#CC7EF4 #E1F47E #7EF491
monochromatic
#9D13E4 #B646EF #CC7EF4 #E2B6F9 #F4E3FD

Accessibility & contrast

On white

2.67
#CC7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CC7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EF4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EF4#FFFFFF#000000##000000
##CC7EF41.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#7AA0F1
Tritanopia (blue-blind)
#C890AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7ef4;
/* rgb */ color: rgb(204, 126, 244);
/* oklch */ color: oklch(72.1% 0.181 313.2);
Tailwind
colors: {
  custom: {
    50: '#dea5f8',
    500: '#cc7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ef4;
$custom-light: #dea5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ef4",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 279.661,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.18114,
    "h": 313.2
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#CC7EF4
secondary
#E1F5D6
accent
#E1054F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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