#C74DFC#C74DFC

#C74DFC is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.8% C 0.256 H 313.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#C74DFC
RGBrgb(199, 77, 252)
HSLhsl(282, 97%, 65%)
HSVhsv(282, 69%, 99%)
CMYKcmyk(21%, 69.4%, 0%, 1.2%)
CIE-LABlab(56.56, 73.35, -65.66)
CIE-LCHlch(56.56, 98.44, 318.17°)
OKLaboklab(65.79% 0.1761 -0.1852)
OKLCHoklch(65.79% 0.256 313.6)
XYZxyz(43.7747, 24.4795, 94.4957)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74DFC #82FC4D
analogous
#704DFC #C74DFC #FC4DD9
triadic
#C74DFC #FCC74D #4DFCC7
tetradic
#C74DFC #FC704D #82FC4D #4DD9FC
square
#C74DFC #FC704D #82FC4D #4DD9FC
split-complementary
#C74DFC #D9FC4D #4DFC70
monochromatic
#8F03CB #B411FB #C74DFC #DA89FD #EDC5FE

Accessibility & contrast

On white

3.56
#C74DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#C74DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74DFC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74DFC#FFFFFF#000000##000000
##C74DFC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#408AF8
Tritanopia (blue-blind)
#C272A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c74dfc;
/* rgb */ color: rgb(199, 77, 252);
/* oklch */ color: oklch(65.8% 0.256 313.6);
Tailwind
colors: {
  custom: {
    50: '#dd88fe',
    500: '#c74dfc',
    950: '#000000',
  },
}
SCSS
$custom: #c74dfc;
$custom-light: #dd88fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c74dfc",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 252
  },
  "hsl": {
    "h": 281.829,
    "s": 96.685,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.25558,
    "h": 313.6
  },
  "luminance": 0.24478
}

Semantic roles & 50–950 ramp

primary
#C74DFC
secondary
#C6F1B4
accent
#E60046
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #C74DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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