#CC74FF#CC74FF

#CC74FF is a light, highly saturated violet. Relative luminance 0.325; OKLCH L 71.2% C 0.208 H 311.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CC74FF
RGBrgb(204, 116, 255)
HSLhsl(278, 100%, 73%)
HSVhsv(278, 55%, 100%)
CMYKcmyk(20%, 54.5%, 0%, 0%)
CIE-LABlab(63.79, 57.51, -55.71)
CIE-LCHlch(63.79, 80.06, 315.91°)
OKLaboklab(71.21% 0.1379 -0.1561)
OKLCHoklch(71.21% 0.208 311.5)
XYZxyz(49.1940, 32.5492, 98.2795)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC74FF #A7FF74
analogous
#8774FF #CC74FF #FF74EC
triadic
#CC74FF #FFCC74 #74FFCC
tetradic
#CC74FF #FF8774 #A7FF74 #74ECFF
square
#CC74FF #FF8774 #A7FF74 #74ECFF
split-complementary
#CC74FF #ECFF74 #74FF87
monochromatic
#9D00F9 #B637FF #CC74FF #E2B1FF #F4E0FF

Accessibility & contrast

On white

2.80
#CC74FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CC74FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC74FF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC74FF#FFFFFF#000000##000000
##CC74FF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#6A9CFC
Tritanopia (blue-blind)
#C68CAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc74ff;
/* rgb */ color: rgb(204, 116, 255);
/* oklch */ color: oklch(71.2% 0.208 311.5);
Tailwind
colors: {
  custom: {
    50: '#de9fff',
    500: '#cc74ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc74ff;
$custom-light: #de9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc74ff",
  "rgb": {
    "r": 204,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 277.986,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71215,
    "c": 0.20832,
    "h": 311.5
  },
  "luminance": 0.32548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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