#CF74E7#CF74E7

#CF74E7 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.185 H 319.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CF74E7
RGBrgb(207, 116, 231)
HSLhsl(287, 71%, 68%)
HSVhsv(287, 50%, 91%)
CMYKcmyk(10.4%, 49.8%, 0%, 9.4%)
CIE-LABlab(62.95, 53.39, -43.77)
CIE-LCHlch(62.95, 69.04, 320.66°)
OKLaboklab(70.28% 0.1394 -0.1213)
OKLCHoklch(70.28% 0.185 319)
XYZxyz(46.3994, 31.5274, 79.2271)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74E7 #8CE774
analogous
#9574E7 #CF74E7 #E774C6
triadic
#CF74E7 #E7CF74 #74E7CF
tetradic
#CF74E7 #E79574 #8CE774 #74C6E7
square
#CF74E7 #E79574 #8CE774 #74C6E7
split-complementary
#CF74E7 #C6E774 #74E795
monochromatic
#9E21C0 #BD40DE #CF74E7 #E1A8F0 #F3DCF9

Accessibility & contrast

On white

2.87
#CF74E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CF74E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74E7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74E7#FFFFFF#000000##000000
##CF74E71.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EB
Deuteranopia (green-blind)
#7B9BE4
Tritanopia (blue-blind)
#CF84A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf74e7;
/* rgb */ color: rgb(207, 116, 231);
/* oklch */ color: oklch(70.3% 0.185 319.0);
Tailwind
colors: {
  custom: {
    50: '#e09fef',
    500: '#cf74e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf74e7;
$custom-light: #e09fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74e7",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 287.478,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.18478,
    "h": 319
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#CF74E7
secondary
#D1EDCA
accent
#D3133B
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F16
muted
#847F84

Preview Lab

Preview with #CF74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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