#CC73FD#CC73FD

#CC73FD is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 71.0% C 0.208 H 312.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC73FD
RGBrgb(204, 115, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19.4%, 54.5%, 0%, 0.8%)
CIE-LABlab(63.50, 57.58, -55.08)
CIE-LCHlch(63.50, 79.68, 316.27°)
OKLaboklab(70.97% 0.1391 -0.1543)
OKLCHoklch(70.97% 0.208 312)
XYZxyz(48.7591, 32.1918, 96.5545)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC73FD #A4FD73
analogous
#8773FD #CC73FD #FD73E9
triadic
#CC73FD #FDCC73 #73FDCC
tetradic
#CC73FD #FD8773 #A4FD73 #73E9FD
square
#CC73FD #FD8773 #A4FD73 #73E9FD
split-complementary
#CC73FD #E9FD73 #73FD87
monochromatic
#9D03F2 #B637FC #CC73FD #E2AFFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.44
#CC73FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC73FD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC73FD#FFFFFF#000000##000000
##CC73FD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#C78BAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc73fd;
/* rgb */ color: rgb(204, 115, 253);
/* oklch */ color: oklch(71.0% 0.208 312.0);
Tailwind
colors: {
  custom: {
    50: '#de9eff',
    500: '#cc73fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc73fd;
$custom-light: #de9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc73fd",
  "rgb": {
    "r": 204,
    "g": 115,
    "b": 253
  },
  "hsl": {
    "h": 278.696,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70966,
    "c": 0.2077,
    "h": 312
  },
  "luminance": 0.32191
}

Semantic roles & 50–950 ramp

primary
#CC73FD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CC73FD

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

Preview Lab → · Contrast checker → · Palette generator →

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