#C74FEF#C74FEF

#C74FEF is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.2% C 0.242 H 316.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C74FEF
RGBrgb(199, 79, 239)
HSLhsl(285, 83%, 62%)
HSVhsv(285, 67%, 94%)
CMYKcmyk(16.7%, 66.9%, 0%, 6.3%)
CIE-LABlab(56.06, 70.03, -59.24)
CIE-LCHlch(56.06, 91.73, 319.77°)
OKLaboklab(65.18% 0.1751 -0.1664)
OKLCHoklch(65.18% 0.242 316.5)
XYZxyz(41.9268, 23.9677, 84.0623)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FEF #77EF4F
analogous
#774FEF #C74FEF #EF4FC7
triadic
#C74FEF #EFC74F #4FEFC7
tetradic
#C74FEF #EF774F #77EF4F #4FC7EF
square
#C74FEF #EF774F #77EF4F #4FC7EF
split-complementary
#C74FEF #C7EF4F #4FEF77
monochromatic
#8B10B3 #B517EA #C74FEF #D987F4 #EBBFF9

Accessibility & contrast

On white

3.62
#C74FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C74FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FEF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FEF#FFFFFF#000000##000000
##C74FEF1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#C56E99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c74fef;
/* rgb */ color: rgb(199, 79, 239);
/* oklch */ color: oklch(65.2% 0.242 316.5);
Tailwind
colors: {
  custom: {
    50: '#dc89f5',
    500: '#c74fef',
    950: '#000000',
  },
}
SCSS
$custom: #c74fef;
$custom-light: #dc89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fef",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65175,
    "c": 0.24157,
    "h": 316.5
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#C74FEF
secondary
#BEEAB0
accent
#E0063C
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#150C17
muted
#847D85

Preview Lab

Preview with #C74FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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