#CF74C8#CF74C8

#CF74C8 is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.8% C 0.155 H 330.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CF74C8
RGBrgb(207, 116, 200)
HSLhsl(305, 49%, 63%)
HSVhsv(305, 44%, 81%)
CMYKcmyk(0%, 44%, 3.4%, 18.8%)
CIE-LABlab(61.59, 47.60, -28.51)
CIE-LCHlch(61.59, 55.48, 329.08°)
OKLaboklab(68.83% 0.1342 -0.0776)
OKLCHoklch(68.83% 0.155 330)
XYZxyz(42.4023, 29.9286, 58.1757)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74C8 #74CF7B
analogous
#A874CF #CF74C8 #CF749A
triadic
#CF74C8 #C8CF74 #74C8CF
tetradic
#CF74C8 #CFA874 #74CF7B #749ACF
square
#CF74C8 #CFA874 #74CF7B #749ACF
split-complementary
#CF74C8 #9ACF74 #74CFA8
monochromatic
#95338E #BF47B6 #CF74C8 #DFA1DA #EECFEC

Accessibility & contrast

On white

3.01
#CF74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CF74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF74C8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74C8#FFFFFF#000000##000000
##CF74C81.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#8899C5
Tritanopia (blue-blind)
#D57B95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf74c8;
/* rgb */ color: rgb(207, 116, 200);
/* oklch */ color: oklch(68.8% 0.155 330.0);
Tailwind
colors: {
  custom: {
    50: '#df9ed9',
    500: '#cf74c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf74c8;
$custom-light: #df9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74c8",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 304.615,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.15498,
    "h": 330
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#CF74C8
secondary
#BFE0C2
accent
#BC352A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F14
muted
#837E83

Preview Lab

Preview with #CF74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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