#C74CE1#C74CE1

#C74CE1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.233 H 320.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C74CE1
RGBrgb(199, 76, 225)
HSLhsl(290, 71%, 59%)
HSVhsv(290, 66%, 88%)
CMYKcmyk(11.6%, 66.2%, 0%, 11.8%)
CIE-LABlab(54.81, 68.61, -53.37)
CIE-LCHlch(54.81, 86.92, 322.12°)
OKLaboklab(64.02% 0.1789 -0.1492)
OKLCHoklch(64.02% 0.233 320.2)
XYZxyz(39.7266, 22.7492, 73.5180)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CE1 #66E14C
analogous
#7D4CE1 #C74CE1 #E14CB1
triadic
#C74CE1 #E1C74C #4CE1C7
tetradic
#C74CE1 #E17D4C #66E14C #4CB1E1
square
#C74CE1 #E17D4C #66E14C #4CB1E1
split-complementary
#C74CE1 #B1E14C #4CE17D
monochromatic
#831A99 #B022CD #C74CE1 #D780EA #E8B5F3

Accessibility & contrast

On white

3.78
#C74CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#C74CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CE1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CE1#FFFFFF#000000##000000
##C74CE11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#177BE5
Deuteranopia (green-blind)
#5988DD
Tritanopia (blue-blind)
#C86691
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ce1;
/* rgb */ color: rgb(199, 76, 225);
/* oklch */ color: oklch(64.0% 0.233 320.2);
Tailwind
colors: {
  custom: {
    50: '#dc87eb',
    500: '#c74ce1',
    950: '#000000',
  },
}
SCSS
$custom: #c74ce1;
$custom-light: #dc87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ce1",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 289.53,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64022,
    "c": 0.23291,
    "h": 320.2
  },
  "luminance": 0.22747
}

Semantic roles & 50–950 ramp

primary
#C74CE1
secondary
#B1E2A7
accent
#EE3A59
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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