#C74FE3#C74FE3

#C74FE3 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.231 H 319.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C74FE3
RGBrgb(199, 79, 227)
HSLhsl(289, 73%, 60%)
HSVhsv(289, 65%, 89%)
CMYKcmyk(12.3%, 65.2%, 0%, 11%)
CIE-LABlab(55.36, 67.76, -53.62)
CIE-LCHlch(55.36, 86.41, 321.65°)
OKLaboklab(64.45% 0.1756 -0.1499)
OKLCHoklch(64.45% 0.231 319.5)
XYZxyz(40.2125, 23.2820, 75.0339)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FE3 #6BE34F
analogous
#7D4FE3 #C74FE3 #E34FB5
triadic
#C74FE3 #E3C74F #4FE3C7
tetradic
#C74FE3 #E37D4F #6BE34F #4FB5E3
square
#C74FE3 #E37D4F #6BE34F #4FB5E3
split-complementary
#C74FE3 #B5E34F #4FE37D
monochromatic
#85199E #B222D3 #C74FE3 #D884EB #E9B9F4

Accessibility & contrast

On white

3.71
#C74FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C74FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FE3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FE3#FFFFFF#000000##000000
##C74FE31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7CE7
Deuteranopia (green-blind)
#5A89DF
Tritanopia (blue-blind)
#C76993
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c74fe3;
/* rgb */ color: rgb(199, 79, 227);
/* oklch */ color: oklch(64.5% 0.231 319.5);
Tailwind
colors: {
  custom: {
    50: '#dc89ec',
    500: '#c74fe3',
    950: '#000000',
  },
}
SCSS
$custom: #c74fe3;
$custom-light: #dc89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fe3",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 288.649,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.64453,
    "c": 0.2309,
    "h": 319.5
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#C74FE3
secondary
#B5E3AA
accent
#EF395B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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