#C74CEF#C74CEF

#C74CEF is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.9% C 0.245 H 316.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C74CEF
RGBrgb(199, 76, 239)
HSLhsl(285, 84%, 62%)
HSVhsv(285, 68%, 94%)
CMYKcmyk(16.7%, 68.2%, 0%, 6.3%)
CIE-LABlab(55.63, 71.23, -59.93)
CIE-LCHlch(55.63, 93.08, 319.93°)
OKLaboklab(64.87% 0.1782 -0.1684)
OKLCHoklch(64.87% 0.245 316.6)
XYZxyz(41.7153, 23.5447, 83.9918)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CEF #74EF4C
analogous
#764CEF #C74CEF #EF4CC6
triadic
#C74CEF #EFC74C #4CEFC7
tetradic
#C74CEF #EF764C #74EF4C #4CC6EF
square
#C74CEF #EF764C #74EF4C #4CC6EF
split-complementary
#C74CEF #C6EF4C #4CEF76
monochromatic
#8910B1 #B515E9 #C74CEF #D984F4 #EABCF9

Accessibility & contrast

On white

3.68
#C74CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C74CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CEF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CEF#FFFFFF#000000##000000
##C74CEF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#C56C98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c74cef;
/* rgb */ color: rgb(199, 76, 239);
/* oklch */ color: oklch(64.9% 0.245 316.6);
Tailwind
colors: {
  custom: {
    50: '#dc87f5',
    500: '#c74cef',
    950: '#000000',
  },
}
SCSS
$custom: #c74cef;
$custom-light: #dc87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74cef",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 285.276,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64869,
    "c": 0.24518,
    "h": 316.6
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

primary
#C74CEF
secondary
#BCEAAD
accent
#E0053B
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #C74CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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