#CC73FB#CC73FB

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

Color values

HEX#CC73FB
RGBrgb(204, 115, 251)
HSLhsl(279, 94%, 72%)
HSVhsv(279, 54%, 98%)
CMYKcmyk(18.7%, 54.2%, 0%, 1.6%)
CIE-LABlab(63.40, 57.16, -54.14)
CIE-LCHlch(63.40, 78.74, 316.55°)
OKLaboklab(70.86% 0.139 -0.1515)
OKLCHoklch(70.86% 0.206 312.5)
XYZxyz(48.4421, 32.0650, 94.8854)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73FB #A2FB73
analogous
#8873FB #CC73FB #FB73E6
triadic
#CC73FB #FBCC73 #73FBCC
tetradic
#CC73FB #FB8873 #A2FB73 #73E6FB
square
#CC73FB #FB8873 #A2FB73 #73E6FB
split-complementary
#CC73FB #E6FB73 #73FB88
monochromatic
#9D07ED #B638F9 #CC73FB #E2AFFD #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC73FB#FFFFFF#000000##000000
##CC73FB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#6C9CF8
Tritanopia (blue-blind)
#C78AAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc73fb;
/* rgb */ color: rgb(204, 115, 251);
/* oklch */ color: oklch(70.9% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#de9efd',
    500: '#cc73fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc73fb;
$custom-light: #de9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73fb",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 279.265,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70855,
    "c": 0.20561,
    "h": 312.5
  },
  "luminance": 0.32064
}

Semantic roles & 50–950 ramp

primary
#CC73FB
secondary
#E0F6D4
accent
#E6004F
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC73FB

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

Preview Lab → · Contrast checker → · Palette generator →

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