#EC74FD#EC74FD

#EC74FD is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.8% C 0.220 H 322.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#EC74FD
RGBrgb(236, 116, 253)
HSLhsl(293, 97%, 72%)
HSVhsv(293, 54%, 99%)
CMYKcmyk(6.7%, 54.2%, 0%, 0.8%)
CIE-LABlab(67.59, 65.17, -48.35)
CIE-LCHlch(67.59, 81.15, 323.43°)
OKLaboklab(74.8% 0.1748 -0.1339)
OKLCHoklch(74.8% 0.22 322.5)
XYZxyz(58.5653, 37.4183, 97.0471)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC74FD #85FD74
analogous
#A874FD #EC74FD #FD74C9
triadic
#EC74FD #FDEC74 #74FDEC
tetradic
#EC74FD #FDA874 #85FD74 #74C9FD
square
#EC74FD #FDA874 #85FD74 #74C9FD
split-complementary
#EC74FD #C9FD74 #74FDA8
monochromatic
#D503F3 #E438FC #EC74FD #F4B0FE #FBE1FF

Accessibility & contrast

On white

2.48
#EC74FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#EC74FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC74FD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC74FD#FFFFFF#000000##000000
##EC74FD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#EF87AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec74fd;
/* rgb */ color: rgb(236, 116, 253);
/* oklch */ color: oklch(74.8% 0.220 322.5);
Tailwind
colors: {
  custom: {
    50: '#f5a1fe',
    500: '#ec74fd',
    950: '#000000',
  },
}
SCSS
$custom: #ec74fd;
$custom-light: #f5a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec74fd",
  "rgb": {
    "r": 236,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 292.555,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.748,
    "c": 0.22018,
    "h": 322.5
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#EC74FD
secondary
#D8F7D4
accent
#E6001C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #EC74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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