#C74CE3#C74CE3

#C74CE3 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.235 H 319.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C74CE3
RGBrgb(199, 76, 227)
HSLhsl(289, 73%, 59%)
HSVhsv(289, 67%, 89%)
CMYKcmyk(12.3%, 66.5%, 0%, 11%)
CIE-LABlab(54.93, 68.98, -54.31)
CIE-LCHlch(54.93, 87.80, 321.78°)
OKLaboklab(64.14% 0.1788 -0.152)
OKLCHoklch(64.14% 0.235 319.6)
XYZxyz(40.0010, 22.8589, 74.9633)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74CE3 #68E34C
analogous
#7C4CE3 #C74CE3 #E34CB4
triadic
#C74CE3 #E3C74C #4CE3C7
tetradic
#C74CE3 #E37C4C #68E34C #4CB4E3
square
#C74CE3 #E37C4C #68E34C #4CB4E3
split-complementary
#C74CE3 #B4E34C #4CE37C
monochromatic
#84189C #B021D1 #C74CE3 #D881EB #E8B6F4

Accessibility & contrast

On white

3.77
#C74CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C74CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74CE3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74CE3#FFFFFF#000000##000000
##C74CE31.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117BE7
Deuteranopia (green-blind)
#5888DF
Tritanopia (blue-blind)
#C76792
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ce3;
/* rgb */ color: rgb(199, 76, 227);
/* oklch */ color: oklch(64.1% 0.235 319.6);
Tailwind
colors: {
  custom: {
    50: '#dc87ec',
    500: '#c74ce3',
    950: '#000000',
  },
}
SCSS
$custom: #c74ce3;
$custom-light: #dc87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ce3",
  "rgb": {
    "r": 199,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 288.874,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64141,
    "c": 0.23465,
    "h": 319.6
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#C74CE3
secondary
#B3E3A8
accent
#F0385A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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