#CC73E7#CC73E7

#CC73E7 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.185 H 317.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC73E7
RGBrgb(204, 115, 231)
HSLhsl(286, 71%, 68%)
HSVhsv(286, 50%, 91%)
CMYKcmyk(11.7%, 50.2%, 0%, 9.4%)
CIE-LABlab(62.40, 53.08, -44.66)
CIE-LCHlch(62.40, 69.37, 319.93°)
OKLaboklab(69.79% 0.1372 -0.124)
OKLCHoklch(69.79% 0.185 317.9)
XYZxyz(45.4544, 30.8699, 79.1499)
Luminance0.3087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73E7 #8EE773
analogous
#9273E7 #CC73E7 #E773C8
triadic
#CC73E7 #E7CC73 #73E7CC
tetradic
#CC73E7 #E79273 #8EE773 #73C8E7
square
#CC73E7 #E79273 #8EE773 #73C8E7
split-complementary
#CC73E7 #C8E773 #73E792
monochromatic
#9A21BF #B93FDE #CC73E7 #DFA7F0 #F2DBF9

Accessibility & contrast

On white

2.93
#CC73E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC73E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73E7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73E7#FFFFFF#000000##000000
##CC73E71.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#789AE4
Tritanopia (blue-blind)
#CC84A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc73e7;
/* rgb */ color: rgb(204, 115, 231);
/* oklch */ color: oklch(69.8% 0.185 317.9);
Tailwind
colors: {
  custom: {
    50: '#de9eef',
    500: '#cc73e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc73e7;
$custom-light: #de9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73e7",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 286.034,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69794,
    "c": 0.18493,
    "h": 317.9
  },
  "luminance": 0.30868
}

Semantic roles & 50–950 ramp

primary
#CC73E7
secondary
#D1EDC9
accent
#D3133F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC73E7

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

Preview Lab → · Contrast checker → · Palette generator →

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