#CC73FC#CC73FC

#CC73FC is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.9% C 0.207 H 312.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CC73FC
RGBrgb(204, 115, 252)
HSLhsl(279, 96%, 72%)
HSVhsv(279, 54%, 99%)
CMYKcmyk(19%, 54.4%, 0%, 1.2%)
CIE-LABlab(63.45, 57.37, -54.61)
CIE-LCHlch(63.45, 79.21, 316.41°)
OKLaboklab(70.91% 0.139 -0.1529)
OKLCHoklch(70.91% 0.207 312.3)
XYZxyz(48.6002, 32.1283, 95.7178)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73FC #A3FC73
analogous
#8873FC #CC73FC #FC73E8
triadic
#CC73FC #FCCC73 #73FCCC
tetradic
#CC73FC #FC8873 #A3FC73 #73E8FC
square
#CC73FC #FC8873 #A3FC73 #73E8FC
split-complementary
#CC73FC #E8FC73 #73FC88
monochromatic
#9D05EF #B637FB #CC73FC #E2AFFD #F4E1FE

Accessibility & contrast

On white

2.83
#CC73FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CC73FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73FC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73FC#FFFFFF#000000##000000
##CC73FC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#C78AAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc73fc;
/* rgb */ color: rgb(204, 115, 252);
/* oklch */ color: oklch(70.9% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#de9efe',
    500: '#cc73fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc73fc;
$custom-light: #de9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73fc",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 278.978,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.20666,
    "h": 312.3
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#CC73FC
secondary
#E0F7D4
accent
#E60050
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC73FC

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

Preview Lab → · Contrast checker → · Palette generator →

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