#CC7EF0#CC7EF0

#CC7EF0 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.177 H 314.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CC7EF0
RGBrgb(204, 126, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15%, 47.5%, 0%, 5.9%)
CIE-LABlab(65.00, 49.26, -45.54)
CIE-LCHlch(65.00, 67.09, 317.25°)
OKLaboklab(71.87% 0.1234 -0.1266)
OKLCHoklch(71.87% 0.177 314.3)
XYZxyz(48.0883, 34.0516, 86.4606)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EF0 #A2F07E
analogous
#937EF0 #CC7EF0 #F07EDB
triadic
#CC7EF0 #F0CC7E #7EF0CC
tetradic
#CC7EF0 #F0937E #A2F07E #7EDBF0
square
#CC7EF0 #F0937E #A2F07E #7EDBF0
split-complementary
#CC7EF0 #DBF07E #7EF093
monochromatic
#9D19DA #B647EA #CC7EF0 #E2B5F6 #F4E4FC

Accessibility & contrast

On white

2.69
#CC7EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CC7EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EF0
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EF0#FFFFFF#000000##000000
##CC7EF01.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#C98FAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7ef0;
/* rgb */ color: rgb(204, 126, 240);
/* oklch */ color: oklch(71.9% 0.177 314.3);
Tailwind
colors: {
  custom: {
    50: '#dda5f5',
    500: '#cc7ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ef0;
$custom-light: #dda5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ef0",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 281.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71866,
    "c": 0.17681,
    "h": 314.3
  },
  "luminance": 0.3405
}

Semantic roles & 50–950 ramp

primary
#CC7EF0
secondary
#E0F3D6
accent
#DB0A4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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