#ED74F2#ED74F2

#ED74F2 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.4% C 0.211 H 325.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#ED74F2
RGBrgb(237, 116, 242)
HSLhsl(298, 83%, 70%)
HSVhsv(298, 52%, 95%)
CMYKcmyk(2.1%, 52.1%, 0%, 5.1%)
CIE-LABlab(67.21, 63.47, -42.90)
CIE-LCHlch(67.21, 76.61, 325.94°)
OKLaboklab(74.38% 0.1747 -0.1182)
OKLCHoklch(74.38% 0.211 325.9)
XYZxyz(57.1963, 36.9092, 88.0987)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED74F2 #79F274
analogous
#AE74F2 #ED74F2 #F274B8
triadic
#ED74F2 #F2ED74 #74F2ED
tetradic
#ED74F2 #F2AE74 #79F274 #74B8F2
square
#ED74F2 #F2AE74 #79F274 #74B8F2
split-complementary
#ED74F2 #B8F274 #74F2AE
monochromatic
#D014D7 #E63CED #ED74F2 #F4ACF7 #FBE3FC

Accessibility & contrast

On white

2.51
#ED74F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#ED74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED74F2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED74F2#FFFFFF#000000##000000
##ED74F21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#F283A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ed74f2;
/* rgb */ color: rgb(237, 116, 242);
/* oklch */ color: oklch(74.4% 0.211 325.9);
Tailwind
colors: {
  custom: {
    50: '#f5a1f7',
    500: '#ed74f2',
    950: '#000000',
  },
}
SCSS
$custom: #ed74f2;
$custom-light: #f5a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed74f2",
  "rgb": {
    "r": 237,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 297.619,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.21091,
    "h": 325.9
  },
  "luminance": 0.36906
}

Semantic roles & 50–950 ramp

primary
#ED74F2
secondary
#D1F2CF
accent
#DF060F
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #ED74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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