#C74AE8#C74AE8

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

Color values

HEX#C74AE8
RGBrgb(199, 74, 232)
HSLhsl(287, 77%, 60%)
HSVhsv(287, 68%, 91%)
CMYKcmyk(14.2%, 68.1%, 0%, 9%)
CIE-LABlab(54.94, 70.69, -57.11)
CIE-LCHlch(54.94, 90.88, 321.07°)
OKLaboklab(64.24% 0.1807 -0.1601)
OKLCHoklch(64.24% 0.241 318.4)
XYZxyz(40.5655, 22.8677, 78.6054)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AE8 #6BE84A
analogous
#784AE8 #C74AE8 #E84ABA
triadic
#C74AE8 #E8C74A #4AE8C7
tetradic
#C74AE8 #E8784A #6BE84A #4ABAE8
square
#C74AE8 #E8784A #6BE84A #4ABAE8
split-complementary
#C74AE8 #BAE84A #4AE878
monochromatic
#8515A3 #B21CD9 #C74AE8 #D880EF #E9B7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74AE8#FFFFFF#000000##000000
##C74AE81.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)
#007BED
Deuteranopia (green-blind)
#5288E4
Tritanopia (blue-blind)
#C66894
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ae8;
/* rgb */ color: rgb(199, 74, 232);
/* oklch */ color: oklch(64.2% 0.241 318.4);
Tailwind
colors: {
  custom: {
    50: '#dc86f0',
    500: '#c74ae8',
    950: '#000000',
  },
}
SCSS
$custom: #c74ae8;
$custom-light: #dc86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ae8",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 287.468,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.24142,
    "h": 318.4
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#C74AE8
secondary
#B5E5A8
accent
#F4345C
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C17
muted
#847D85

Preview Lab

Preview with #C74AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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