#CF74E2#CF74E2

#CF74E2 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.180 H 320.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CF74E2
RGBrgb(207, 116, 226)
HSLhsl(290, 65%, 67%)
HSVhsv(290, 49%, 89%)
CMYKcmyk(8.4%, 48.7%, 0%, 11.4%)
CIE-LABlab(62.72, 52.42, -41.35)
CIE-LCHlch(62.72, 66.76, 321.73°)
OKLaboklab(70.03% 0.1387 -0.1143)
OKLCHoklch(70.03% 0.18 320.5)
XYZxyz(45.7033, 31.2490, 75.5610)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74E2 #87E274
analogous
#9874E2 #CF74E2 #E274BE
triadic
#CF74E2 #E2CF74 #74E2CF
tetradic
#CF74E2 #E29874 #87E274 #74BEE2
square
#CF74E2 #E29874 #87E274 #74BEE2
split-complementary
#CF74E2 #BEE274 #74E298
monochromatic
#9D26B6 #BE41D7 #CF74E2 #E0A7ED #F2D9F7

Accessibility & contrast

On white

2.90
#CF74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CF74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74E2
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74E2#FFFFFF#000000##000000
##CF74E21.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#D083A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf74e2;
/* rgb */ color: rgb(207, 116, 226);
/* oklch */ color: oklch(70.0% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#e09feb',
    500: '#cf74e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf74e2;
$custom-light: #e09feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74e2",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 289.636,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.17977,
    "h": 320.5
  },
  "luminance": 0.31247
}

Semantic roles & 50–950 ramp

primary
#CF74E2
secondary
#CDEAC7
accent
#CD1837
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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