#CC73FE#CC73FE

#CC73FE is a light, highly saturated violet. Relative luminance 0.323; OKLCH L 71.0% C 0.209 H 311.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CC73FE
RGBrgb(204, 115, 254)
HSLhsl(278, 99%, 72%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(19.7%, 54.7%, 0%, 0.4%)
CIE-LABlab(63.55, 57.79, -55.54)
CIE-LCHlch(63.55, 80.16, 316.14°)
OKLaboklab(71.02% 0.1391 -0.1556)
OKLCHoklch(71.02% 0.209 311.8)
XYZxyz(48.9188, 32.2557, 97.3957)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73FE #A5FE73
analogous
#8673FE #CC73FE #FE73EB
triadic
#CC73FE #FECC73 #73FECC
tetradic
#CC73FE #FE8673 #A5FE73 #73EBFE
square
#CC73FE #FE8673 #A5FE73 #73EBFE
split-complementary
#CC73FE #EBFE73 #73FE86
monochromatic
#9D02F5 #B636FE #CC73FE #E2B0FE #F4E1FF

Accessibility & contrast

On white

2.82
#CC73FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CC73FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73FE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73FE#FFFFFF#000000##000000
##CC73FE1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#C68BAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc73fe;
/* rgb */ color: rgb(204, 115, 254);
/* oklch */ color: oklch(71.0% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#de9fff',
    500: '#cc73fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc73fe;
$custom-light: #de9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73fe",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 278.417,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71021,
    "c": 0.20875,
    "h": 311.8
  },
  "luminance": 0.32255
}

Semantic roles & 50–950 ramp

primary
#CC73FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CC73FE

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

Preview Lab → · Contrast checker → · Palette generator →

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