#CF74DF#CF74DF

#CF74DF is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.177 H 321.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CF74DF
RGBrgb(207, 116, 223)
HSLhsl(291, 63%, 66%)
HSVhsv(291, 48%, 87%)
CMYKcmyk(7.2%, 48%, 0%, 12.5%)
CIE-LABlab(62.58, 51.84, -39.89)
CIE-LCHlch(62.58, 65.41, 322.42°)
OKLaboklab(69.88% 0.1383 -0.1101)
OKLCHoklch(69.88% 0.177 321.5)
XYZxyz(45.2953, 31.0858, 73.4119)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74DF #84DF74
analogous
#9A74DF #CF74DF #DF74BA
triadic
#CF74DF #DFCF74 #74DFCF
tetradic
#CF74DF #DF9A74 #84DF74 #74BADF
square
#CF74DF #DF9A74 #84DF74 #74BADF
split-complementary
#CF74DF #BADF74 #74DF9A
monochromatic
#9C29B0 #BE42D4 #CF74DF #E0A6EA #F1D7F6

Accessibility & contrast

On white

2.91
#CF74DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CF74DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74DF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74DF#FFFFFF#000000##000000
##CF74DF1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6491E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#D1829F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf74df;
/* rgb */ color: rgb(207, 116, 223);
/* oklch */ color: oklch(69.9% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#e09fe9',
    500: '#cf74df',
    950: '#000000',
  },
}
SCSS
$custom: #cf74df;
$custom-light: #e09fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74df",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 291.028,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.1768,
    "h": 321.5
  },
  "luminance": 0.31084
}

Semantic roles & 50–950 ramp

primary
#CF74DF
secondary
#CBE9C6
accent
#CA1B35
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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