#C74FD6#C74FD6

#C74FD6 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.220 H 323.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C74FD6
RGBrgb(199, 79, 214)
HSLhsl(293, 62%, 57%)
HSVhsv(293, 63%, 84%)
CMYKcmyk(7%, 63.1%, 0%, 16.1%)
CIE-LABlab(54.65, 65.38, -47.40)
CIE-LCHlch(54.65, 80.76, 324.06°)
OKLaboklab(63.71% 0.1755 -0.1318)
OKLCHoklch(63.71% 0.22 323.1)
XYZxyz(38.4856, 22.5912, 65.9387)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FD6 #5ED64F
analogous
#834FD6 #C74FD6 #D64FA2
triadic
#C74FD6 #D6C74F #4FD6C7
tetradic
#C74FD6 #D6834F #5ED64F #4FA2D6
square
#C74FD6 #D6834F #5ED64F #4FA2D6
split-complementary
#C74FD6 #A2D64F #4FD683
monochromatic
#7F208A #AC2CBC #C74FD6 #D781E2 #E7B2ED

Accessibility & contrast

On white

3.81
#C74FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C74FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FD6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FD6#FFFFFF#000000##000000
##C74FD61.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#CA648C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c74fd6;
/* rgb */ color: rgb(199, 79, 214);
/* oklch */ color: oklch(63.7% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#db88e3',
    500: '#c74fd6',
    950: '#000000',
  },
}
SCSS
$custom: #c74fd6;
$custom-light: #db88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fd6",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 293.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.21952,
    "h": 323.1
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#C74FD6
secondary
#ABDCA5
accent
#E54355
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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