#CF74C2#CF74C2

#CF74C2 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.6% C 0.150 H 332.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CF74C2
RGBrgb(207, 116, 194)
HSLhsl(309, 49%, 63%)
HSVhsv(309, 44%, 81%)
CMYKcmyk(0%, 44%, 6.3%, 18.8%)
CIE-LABlab(61.35, 46.55, -25.48)
CIE-LCHlch(61.35, 53.07, 331.30°)
OKLaboklab(68.57% 0.1328 -0.069)
OKLCHoklch(68.57% 0.15 332.5)
XYZxyz(41.7149, 29.6536, 54.5550)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74C2 #74CF81
analogous
#AE74CF #CF74C2 #CF7494
triadic
#CF74C2 #C2CF74 #74C2CF
tetradic
#CF74C2 #CFAE74 #74CF81 #7494CF
square
#CF74C2 #CFAE74 #74CF81 #7494CF
split-complementary
#CF74C2 #94CF74 #74CFAE
monochromatic
#953387 #BF47AE #CF74C2 #DFA1D6 #EECFEA

Accessibility & contrast

On white

3.03
#CF74C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CF74C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF74C2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74C2#FFFFFF#000000##000000
##CF74C21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC5
Deuteranopia (green-blind)
#8B99BF
Tritanopia (blue-blind)
#D67A92
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf74c2;
/* rgb */ color: rgb(207, 116, 194);
/* oklch */ color: oklch(68.6% 0.150 332.5);
Tailwind
colors: {
  custom: {
    50: '#df9ed4',
    500: '#cf74c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf74c2;
$custom-light: #df9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74c2",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 308.571,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.14969,
    "h": 332.5
  },
  "luminance": 0.29651
}

Semantic roles & 50–950 ramp

primary
#CF74C2
secondary
#BFE0C4
accent
#BC3E2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F14
muted
#837E83

Preview Lab

Preview with #CF74C2

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

Preview Lab → · Contrast checker → · Palette generator →

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