#CC7EF7#CC7EF7

#CC7EF7 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.184 H 312.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CC7EF7
RGBrgb(204, 126, 247)
HSLhsl(279, 88%, 73%)
HSVhsv(279, 49%, 97%)
CMYKcmyk(17.4%, 49%, 0%, 3.1%)
CIE-LABlab(65.34, 50.73, -48.87)
CIE-LCHlch(65.34, 70.44, 316.07°)
OKLaboklab(72.22% 0.1243 -0.1362)
OKLCHoklch(72.22% 0.184 312.4)
XYZxyz(49.1483, 34.4756, 92.0430)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EF7 #A9F77E
analogous
#8F7EF7 #CC7EF7 #F77EE5
triadic
#CC7EF7 #F7CC7E #7EF7CC
tetradic
#CC7EF7 #F78F7E #A9F77E #7EE5F7
square
#CC7EF7 #F78F7E #A9F77E #7EE5F7
split-complementary
#CC7EF7 #E5F77E #7EF78F
monochromatic
#9D0FEC #B544F3 #CC7EF7 #E3B8FB #F4E2FD

Accessibility & contrast

On white

2.66
#CC7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CC7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EF7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EF7#FFFFFF#000000##000000
##CC7EF71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#C891AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ef7;
/* rgb */ color: rgb(204, 126, 247);
/* oklch */ color: oklch(72.2% 0.184 312.4);
Tailwind
colors: {
  custom: {
    50: '#dea5fa',
    500: '#cc7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ef7;
$custom-light: #dea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ef7",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 278.678,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.18441,
    "h": 312.4
  },
  "luminance": 0.34474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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