#C74FDF#C74FDF

#C74FDF is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.227 H 320.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C74FDF
RGBrgb(199, 79, 223)
HSLhsl(290, 69%, 59%)
HSVhsv(290, 65%, 87%)
CMYKcmyk(10.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(55.14, 67.02, -51.72)
CIE-LCHlch(55.14, 84.66, 322.34°)
OKLaboklab(64.22% 0.1756 -0.1444)
OKLCHoklch(64.22% 0.227 320.6)
XYZxyz(39.6669, 23.0637, 72.1601)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FDF #67DF4F
analogous
#7F4FDF #C74FDF #DF4FAF
triadic
#C74FDF #DFC74F #4FDFC7
tetradic
#C74FDF #DF7F4F #67DF4F #4FAFDF
square
#C74FDF #DF7F4F #67DF4F #4FAFDF
split-complementary
#C74FDF #AFDF4F #4FDF7F
monochromatic
#831C98 #B025CC #C74FDF #D783E8 #E8B7F2

Accessibility & contrast

On white

3.74
#C74FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C74FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FDF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FDF#FFFFFF#000000##000000
##C74FDF1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257CE3
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#C86790
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c74fdf;
/* rgb */ color: rgb(199, 79, 223);
/* oklch */ color: oklch(64.2% 0.227 320.6);
Tailwind
colors: {
  custom: {
    50: '#db88e9',
    500: '#c74fdf',
    950: '#000000',
  },
}
SCSS
$custom: #c74fdf;
$custom-light: #db88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fdf",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 290,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.22736,
    "h": 320.6
  },
  "luminance": 0.23062
}

Semantic roles & 50–950 ramp

primary
#C74FDF
secondary
#B2E1A9
accent
#EC3C59
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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