#CF74E8#CF74E8

#CF74E8 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.186 H 318.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CF74E8
RGBrgb(207, 116, 232)
HSLhsl(287, 72%, 68%)
HSVhsv(287, 50%, 91%)
CMYKcmyk(10.8%, 50%, 0%, 9%)
CIE-LABlab(63.00, 53.59, -44.25)
CIE-LCHlch(63.00, 69.50, 320.45°)
OKLaboklab(70.33% 0.1395 -0.1227)
OKLCHoklch(70.33% 0.186 318.7)
XYZxyz(46.5411, 31.5841, 79.9730)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF74E8 #8DE874
analogous
#9574E8 #CF74E8 #E874C7
triadic
#CF74E8 #E8CF74 #74E8CF
tetradic
#CF74E8 #E89574 #8DE874 #74C7E8
square
#CF74E8 #E89574 #8DE874 #74C7E8
split-complementary
#CF74E8 #C7E874 #74E895
monochromatic
#9F20C2 #BD3FDF #CF74E8 #E1A9F1 #F3DDF9

Accessibility & contrast

On white

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

On black

7.32
#CF74E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF74E8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF74E8#FFFFFF#000000##000000
##CF74E81.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#7A9CE5
Tritanopia (blue-blind)
#CF85A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf74e8;
/* rgb */ color: rgb(207, 116, 232);
/* oklch */ color: oklch(70.3% 0.186 318.7);
Tailwind
colors: {
  custom: {
    50: '#e09ff0',
    500: '#cf74e8',
    950: '#000000',
  },
}
SCSS
$custom: #cf74e8;
$custom-light: #e09ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf74e8",
  "rgb": {
    "r": 207,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 287.069,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.18578,
    "h": 318.7
  },
  "luminance": 0.31582
}

Semantic roles & 50–950 ramp

primary
#CF74E8
secondary
#D2EDCA
accent
#D4123C
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F16
muted
#847F84

Preview Lab

Preview with #CF74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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