#CC77EB#CC77EB

#CC77EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.6% C 0.183 H 316.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CC77EB
RGBrgb(204, 119, 235)
HSLhsl(284, 74%, 69%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(13.2%, 49.4%, 0%, 7.8%)
CIE-LABlab(63.37, 51.85, -45.35)
CIE-LCHlch(63.37, 68.89, 318.83°)
OKLaboklab(70.58% 0.1323 -0.126)
OKLCHoklch(70.58% 0.183 316.4)
XYZxyz(46.4918, 32.0306, 82.3146)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77EB #96EB77
analogous
#9277EB #CC77EB #EB77D0
triadic
#CC77EB #EBCC77 #77EBCC
tetradic
#CC77EB #EB9277 #96EB77 #77D0EB
square
#CC77EB #EB9277 #96EB77 #77D0EB
split-complementary
#CC77EB #D0EB77 #77EB92
monochromatic
#9C1ECA #B842E3 #CC77EB #E0ACF3 #F4E2FB

Accessibility & contrast

On white

2.84
#CC77EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CC77EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77EB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77EB#FFFFFF#000000##000000
##CC77EB1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#CB88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc77eb;
/* rgb */ color: rgb(204, 119, 235);
/* oklch */ color: oklch(70.6% 0.183 316.4);
Tailwind
colors: {
  custom: {
    50: '#dea1f2',
    500: '#cc77eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc77eb;
$custom-light: #dea1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77eb",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 283.966,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70575,
    "c": 0.1827,
    "h": 316.4
  },
  "luminance": 0.32029
}

Semantic roles & 50–950 ramp

primary
#CC77EB
secondary
#D7F0CE
accent
#D60F44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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