#CC7CF0#CC7CF0

#CC7CF0 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.180 H 314.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CC7CF0
RGBrgb(204, 124, 240)
HSLhsl(281, 79%, 71%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15%, 48.3%, 0%, 5.9%)
CIE-LABlab(64.60, 50.30, -46.18)
CIE-LCHlch(64.60, 68.28, 317.45°)
OKLaboklab(71.57% 0.1261 -0.1284)
OKLCHoklch(71.57% 0.18 314.5)
XYZxyz(47.8351, 33.5452, 86.3762)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CF0 #A0F07C
analogous
#927CF0 #CC7CF0 #F07CDA
triadic
#CC7CF0 #F0CC7C #7CF0CC
tetradic
#CC7CF0 #F0927C #A0F07C #7CDAF0
square
#CC7CF0 #F0927C #A0F07C #7CDAF0
split-complementary
#CC7CF0 #DAF07C #7CF092
monochromatic
#9D19D9 #B745EA #CC7CF0 #E1B3F6 #F4E4FC

Accessibility & contrast

On white

2.72
#CC7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CC7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CF0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CF0#FFFFFF#000000##000000
##CC7CF01.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C98EAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7cf0;
/* rgb */ color: rgb(204, 124, 240);
/* oklch */ color: oklch(71.6% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#dea4f5',
    500: '#cc7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cf0;
$custom-light: #dea4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cf0",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 281.379,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71566,
    "c": 0.18002,
    "h": 314.5
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#CC7CF0
secondary
#DEF3D5
accent
#DC0A4B
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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