#C74DD7#C74DD7

#C74DD7 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.5% C 0.223 H 322.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C74DD7
RGBrgb(199, 77, 215)
HSLhsl(293, 63%, 57%)
HSVhsv(293, 64%, 84%)
CMYKcmyk(7.4%, 64.2%, 0%, 15.7%)
CIE-LABlab(54.41, 66.39, -48.36)
CIE-LCHlch(54.41, 82.13, 323.93°)
OKLaboklab(63.55% 0.1778 -0.1346)
OKLCHoklch(63.55% 0.223 322.9)
XYZxyz(38.4716, 22.3583, 66.5660)
Luminance0.2236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DD7 #5DD74D
analogous
#824DD7 #C74DD7 #D74DA2
triadic
#C74DD7 #D7C74D #4DD7C7
tetradic
#C74DD7 #D7824D #5DD74D #4DA2D7
square
#C74DD7 #D7824D #5DD74D #4DA2D7
split-complementary
#C74DD7 #A2D74D #4DD782
monochromatic
#7E1F8A #AC2ABC #C74DD7 #D77FE2 #E6B1ED

Accessibility & contrast

On white

3.84
#C74DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C74DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DD7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DD7#FFFFFF#000000##000000
##C74DD71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DB
Deuteranopia (green-blind)
#6187D3
Tritanopia (blue-blind)
#CA638C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74dd7;
/* rgb */ color: rgb(199, 77, 215);
/* oklch */ color: oklch(63.5% 0.223 322.9);
Tailwind
colors: {
  custom: {
    50: '#db87e4',
    500: '#c74dd7',
    950: '#000000',
  },
}
SCSS
$custom: #c74dd7;
$custom-light: #db87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dd7",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 293.043,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.223,
    "h": 322.9
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#C74DD7
secondary
#AADCA4
accent
#E64155
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C74DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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