#C74FD2#C74FD2

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

Color values

HEX#C74FD2
RGBrgb(199, 79, 210)
HSLhsl(295, 59%, 57%)
HSVhsv(295, 62%, 82%)
CMYKcmyk(5.2%, 62.4%, 0%, 17.6%)
CIE-LABlab(54.44, 64.67, -45.46)
CIE-LCHlch(54.44, 79.05, 324.89°)
OKLaboklab(63.49% 0.1754 -0.1262)
OKLCHoklch(63.49% 0.216 324.3)
XYZxyz(37.9810, 22.3894, 63.2813)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FD2 #5AD24F
analogous
#864FD2 #C74FD2 #D24F9C
triadic
#C74FD2 #D2C74F #4FD2C7
tetradic
#C74FD2 #D2864F #5AD24F #4F9CD2
square
#C74FD2 #D2864F #5AD24F #4F9CD2
split-complementary
#C74FD2 #9CD24F #4FD286
monochromatic
#7C2285 #AA2EB5 #C74FD2 #D780DE #E6B0EB

Accessibility & contrast

On white

3.83
#C74FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C74FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FD2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FD2#FFFFFF#000000##000000
##C74FD21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#6587CF
Tritanopia (blue-blind)
#CB628A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c74fd2;
/* rgb */ color: rgb(199, 79, 210);
/* oklch */ color: oklch(63.5% 0.216 324.3);
Tailwind
colors: {
  custom: {
    50: '#db88e0',
    500: '#c74fd2',
    950: '#000000',
  },
}
SCSS
$custom: #c74fd2;
$custom-light: #db88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fd2",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 294.962,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63488,
    "c": 0.21608,
    "h": 324.3
  },
  "luminance": 0.22387
}

Semantic roles & 50–950 ramp

primary
#C74FD2
secondary
#A8D9A4
accent
#E24553
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C74FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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