#C74DCD#C74DCD

#C74DCD is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.214 H 325.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C74DCD
RGBrgb(199, 77, 205)
HSLhsl(297, 56%, 55%)
HSVhsv(297, 62%, 80%)
CMYKcmyk(2.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(53.88, 64.63, -43.49)
CIE-LCHlch(53.88, 77.90, 326.06°)
OKLaboklab(63% 0.1775 -0.1204)
OKLCHoklch(63% 0.215 325.8)
XYZxyz(37.2257, 21.8599, 60.0044)
Luminance0.2186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DCD #53CD4D
analogous
#874DCD #C74DCD #CD4D93
triadic
#C74DCD #CDC74D #4DCDC7
tetradic
#C74DCD #CD874D #53CD4D #4D93CD
square
#C74DCD #CD874D #53CD4D #4D93CD
split-complementary
#C74DCD #93CD4D #4DCD87
monochromatic
#78237D #A730AC #C74DCD #D67DDA #E5ADE8

Accessibility & contrast

On white

3.91
#C74DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C74DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DCD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DCD#FFFFFF#000000##000000
##C74DCD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#6786CA
Tritanopia (blue-blind)
#CC5F86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c74dcd;
/* rgb */ color: rgb(199, 77, 205);
/* oklch */ color: oklch(63.0% 0.214 325.8);
Tailwind
colors: {
  custom: {
    50: '#db87dd',
    500: '#c74dcd',
    950: '#000000',
  },
}
SCSS
$custom: #c74dcd;
$custom-light: #db87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dcd",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 297.188,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.2145,
    "h": 325.8
  },
  "luminance": 0.21858
}

Semantic roles & 50–950 ramp

primary
#C74DCD
secondary
#A3D6A0
accent
#DF484F
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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