#C74AE5#C74AE5

#C74AE5 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.239 H 319.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C74AE5
RGBrgb(199, 74, 229)
HSLhsl(288, 75%, 59%)
HSVhsv(288, 68%, 90%)
CMYKcmyk(13.1%, 67.7%, 0%, 10.2%)
CIE-LABlab(54.76, 70.14, -55.71)
CIE-LCHlch(54.76, 89.57, 321.54°)
OKLaboklab(64.06% 0.1808 -0.156)
OKLCHoklch(64.06% 0.239 319.2)
XYZxyz(40.1430, 22.6987, 76.3803)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74AE5 #68E54A
analogous
#7A4AE5 #C74AE5 #E54AB6
triadic
#C74AE5 #E5C74A #4AE5C7
tetradic
#C74AE5 #E57A4A #68E54A #4AB6E5
square
#C74AE5 #E57A4A #68E54A #4AB6E5
split-complementary
#C74AE5 #B6E54A #4AE57A
monochromatic
#84179E #B01ED3 #C74AE5 #D880ED #E8B5F4

Accessibility & contrast

On white

3.79
#C74AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C74AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74AE5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74AE5#FFFFFF#000000##000000
##C74AE51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#C76792
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74ae5;
/* rgb */ color: rgb(199, 74, 229);
/* oklch */ color: oklch(64.1% 0.239 319.2);
Tailwind
colors: {
  custom: {
    50: '#dc86ee',
    500: '#c74ae5',
    950: '#000000',
  },
}
SCSS
$custom: #c74ae5;
$custom-light: #dc86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c74ae5",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 288.387,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.23882,
    "h": 319.2
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#C74AE5
secondary
#B3E4A7
accent
#F1365B
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #C74AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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