#CC7FF3#CC7FF3

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

Color values

HEX#CC7FF3
RGBrgb(204, 127, 243)
HSLhsl(280, 83%, 73%)
HSVhsv(280, 48%, 95%)
CMYKcmyk(16%, 47.7%, 0%, 4.7%)
CIE-LABlab(65.35, 49.37, -46.65)
CIE-LCHlch(65.35, 67.92, 316.62°)
OKLaboklab(72.17% 0.1225 -0.1298)
OKLCHoklch(72.17% 0.178 313.3)
XYZxyz(48.6662, 34.4883, 88.8699)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF3 #A6F37F
analogous
#927FF3 #CC7FF3 #F37FE0
triadic
#CC7FF3 #F3CC7F #7FF3CC
tetradic
#CC7FF3 #F3927F #A6F37F #7FE0F3
square
#CC7FF3 #F3927F #A6F37F #7FE0F3
split-complementary
#CC7FF3 #E0F37F #7FF392
monochromatic
#9D15E2 #B647EE #CC7FF3 #E2B7F8 #F4E3FC

Accessibility & contrast

On white

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

On black

7.90
#CC7FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FF3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FF3#FFFFFF#000000##000000
##CC7FF31.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF7
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#C991AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ff3;
/* rgb */ color: rgb(204, 127, 243);
/* oklch */ color: oklch(72.2% 0.178 313.3);
Tailwind
colors: {
  custom: {
    50: '#dea6f7',
    500: '#cc7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff3;
$custom-light: #dea6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff3",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 279.828,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72168,
    "c": 0.17846,
    "h": 313.3
  },
  "luminance": 0.34487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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