#EC74F7#EC74F7

#EC74F7 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.215 H 324.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#EC74F7
RGBrgb(236, 116, 247)
HSLhsl(295, 89%, 71%)
HSVhsv(295, 53%, 97%)
CMYKcmyk(4.5%, 53%, 0%, 3.1%)
CIE-LABlab(67.31, 64.09, -45.51)
CIE-LCHlch(67.31, 78.60, 324.63°)
OKLaboklab(74.5% 0.1742 -0.1257)
OKLCHoklch(74.5% 0.215 324.2)
XYZxyz(57.6245, 37.0420, 92.0922)
Luminance0.3704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74F7 #7FF774
analogous
#AA74F7 #EC74F7 #F774C0
triadic
#EC74F7 #F7EC74 #74F7EC
tetradic
#EC74F7 #F7AA74 #7FF774 #74C0F7
square
#EC74F7 #F7AA74 #7FF774 #74C0F7
split-complementary
#EC74F7 #C0F774 #74F7AA
monochromatic
#D20DE4 #E43AF4 #EC74F7 #F4AEFA #FBE2FD

Accessibility & contrast

On white

2.50
#EC74F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#EC74F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74F7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74F7#FFFFFF#000000##000000
##EC74F71.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#88A9F3
Tritanopia (blue-blind)
#F085AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec74f7;
/* rgb */ color: rgb(236, 116, 247);
/* oklch */ color: oklch(74.5% 0.215 324.2);
Tailwind
colors: {
  custom: {
    50: '#f5a1fa',
    500: '#ec74f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec74f7;
$custom-light: #f5a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74f7",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 294.962,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.21479,
    "h": 324.2
  },
  "luminance": 0.37039
}

Semantic roles & 50–950 ramp

primary
#EC74F7
secondary
#D5F5D2
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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