#CC73F2#CC73F2

#CC73F2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.196 H 314.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CC73F2
RGBrgb(204, 115, 242)
HSLhsl(282, 83%, 70%)
HSVhsv(282, 52%, 95%)
CMYKcmyk(15.7%, 52.5%, 0%, 5.1%)
CIE-LABlab(62.94, 55.30, -49.91)
CIE-LCHlch(62.94, 74.49, 317.93°)
OKLaboklab(70.37% 0.1383 -0.1392)
OKLCHoklch(70.37% 0.196 314.8)
XYZxyz(47.0570, 31.5110, 87.5906)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73F2 #99F273
analogous
#8C73F2 #CC73F2 #F273D9
triadic
#CC73F2 #F2CC73 #73F2CC
tetradic
#CC73F2 #F28C73 #99F273 #73D9F2
square
#CC73F2 #F28C73 #99F273 #73D9F2
split-complementary
#CC73F2 #D9F273 #73F28C
monochromatic
#9C14D7 #B83BED #CC73F2 #E0ABF7 #F5E3FC

Accessibility & contrast

On white

2.88
#CC73F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CC73F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73F2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73F2#FFFFFF#000000##000000
##CC73F21.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#C987A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc73f2;
/* rgb */ color: rgb(204, 115, 242);
/* oklch */ color: oklch(70.4% 0.196 314.8);
Tailwind
colors: {
  custom: {
    50: '#de9ef7',
    500: '#cc73f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc73f2;
$custom-light: #de9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73f2",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 282.047,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.19624,
    "h": 314.8
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#CC73F2
secondary
#D9F2CF
accent
#DF0647
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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