#CF74DC#CF74DC

#CF74DC is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.7% C 0.174 H 322.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CF74DC
RGBrgb(207, 116, 220)
HSLhsl(293, 60%, 66%)
HSVhsv(293, 47%, 86%)
CMYKcmyk(5.9%, 47.3%, 0%, 13.7%)
CIE-LABlab(62.44, 51.27, -38.43)
CIE-LCHlch(62.44, 64.07, 323.15°)
OKLaboklab(69.74% 0.1378 -0.1059)
OKLCHoklch(69.74% 0.174 322.5)
XYZxyz(44.8944, 30.9254, 71.3007)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74DC #81DC74
analogous
#9B74DC #CF74DC #DC74B5
triadic
#CF74DC #DCCF74 #74DCCF
tetradic
#CF74DC #DC9B74 #81DC74 #74B5DC
square
#CF74DC #DC9B74 #81DC74 #74B5DC
split-complementary
#CF74DC #B5DC74 #74DC9B
monochromatic
#9B2BAB #BE43D0 #CF74DC #E0A5E8 #F1D6F5

Accessibility & contrast

On white

2.92
#CF74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CF74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74DC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74DC#FFFFFF#000000##000000
##CF74DC1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690E0
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#D2819E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf74dc;
/* rgb */ color: rgb(207, 116, 220);
/* oklch */ color: oklch(69.7% 0.174 322.5);
Tailwind
colors: {
  custom: {
    50: '#e09fe7',
    500: '#cf74dc',
    950: '#000000',
  },
}
SCSS
$custom: #cf74dc;
$custom-light: #e09fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74dc",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 292.5,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.17384,
    "h": 322.5
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#CF74DC
secondary
#C9E7C5
accent
#C71E33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CF74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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