#C74FE5#C74FE5

#C74FE5 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.6% C 0.233 H 319.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C74FE5
RGBrgb(199, 79, 229)
HSLhsl(288, 74%, 60%)
HSVhsv(288, 66%, 90%)
CMYKcmyk(13.1%, 65.5%, 0%, 10.2%)
CIE-LABlab(55.48, 68.14, -54.56)
CIE-LCHlch(55.48, 87.29, 321.31°)
OKLaboklab(64.57% 0.1755 -0.1527)
OKLCHoklch(64.57% 0.233 319)
XYZxyz(40.4902, 23.3931, 76.4961)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FE5 #6DE54F
analogous
#7C4FE5 #C74FE5 #E54FB8
triadic
#C74FE5 #E5C74F #4FE5C7
tetradic
#C74FE5 #E57C4F #6DE54F #4FB8E5
square
#C74FE5 #E57C4F #6DE54F #4FB8E5
split-complementary
#C74FE5 #B8E54F #4FE57C
monochromatic
#8618A2 #B220D7 #C74FE5 #D884ED #E9BAF5

Accessibility & contrast

On white

3.70
#C74FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#C74FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FE5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FE5#FFFFFF#000000##000000
##C74FE51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#177DE9
Deuteranopia (green-blind)
#5889E1
Tritanopia (blue-blind)
#C76A94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c74fe5;
/* rgb */ color: rgb(199, 79, 229);
/* oklch */ color: oklch(64.6% 0.233 319.0);
Tailwind
colors: {
  custom: {
    50: '#dc89ee',
    500: '#c74fe5',
    950: '#000000',
  },
}
SCSS
$custom: #c74fe5;
$custom-light: #dc89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fe5",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 288,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.23266,
    "h": 319
  },
  "luminance": 0.23391
}

Semantic roles & 50–950 ramp

primary
#C74FE5
secondary
#B7E5AB
accent
#D60F37
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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