#C74FE2#C74FE2

#C74FE2 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.230 H 319.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C74FE2
RGBrgb(199, 79, 226)
HSLhsl(289, 72%, 60%)
HSVhsv(289, 65%, 89%)
CMYKcmyk(11.9%, 65%, 0%, 11.4%)
CIE-LABlab(55.31, 67.58, -53.15)
CIE-LCHlch(55.31, 85.97, 321.82°)
OKLaboklab(64.4% 0.1756 -0.1486)
OKLCHoklch(64.4% 0.23 319.8)
XYZxyz(40.0749, 23.2270, 74.3091)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74FE2 #6AE24F
analogous
#7E4FE2 #C74FE2 #E24FB3
triadic
#C74FE2 #E2C74F #4FE2C7
tetradic
#C74FE2 #E27E4F #6AE24F #4FB3E2
square
#C74FE2 #E27E4F #6AE24F #4FB3E2
split-complementary
#C74FE2 #B3E24F #4FE27E
monochromatic
#851A9D #B122D1 #C74FE2 #D884EB #E8B8F3

Accessibility & contrast

On white

3.72
#C74FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C74FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74FE2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74FE2#FFFFFF#000000##000000
##C74FE21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#5B89DE
Tritanopia (blue-blind)
#C86992
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c74fe2;
/* rgb */ color: rgb(199, 79, 226);
/* oklch */ color: oklch(64.4% 0.230 319.8);
Tailwind
colors: {
  custom: {
    50: '#dc89ec',
    500: '#c74fe2',
    950: '#000000',
  },
}
SCSS
$custom: #c74fe2;
$custom-light: #dc89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c74fe2",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 288.98,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.23,
    "h": 319.8
  },
  "luminance": 0.23225
}

Semantic roles & 50–950 ramp

primary
#C74FE2
secondary
#B4E3AA
accent
#EE395B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C74FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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