#EC72F5#EC72F5

#EC72F5 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.216 H 324.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#EC72F5
RGBrgb(236, 114, 245)
HSLhsl(296, 87%, 70%)
HSVhsv(296, 53%, 96%)
CMYKcmyk(3.7%, 53.5%, 0%, 3.9%)
CIE-LABlab(66.87, 64.66, -45.09)
CIE-LCHlch(66.87, 78.83, 325.11°)
OKLaboklab(74.15% 0.1765 -0.1245)
OKLCHoklch(74.15% 0.216 324.8)
XYZxyz(57.0894, 36.4631, 90.3995)
Luminance0.3646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72F5 #7BF572
analogous
#AA72F5 #EC72F5 #F572BC
triadic
#EC72F5 #F5EC72 #72F5EC
tetradic
#EC72F5 #F5AA72 #7BF572 #72BCF5
square
#EC72F5 #F5AA72 #7BF572 #72BCF5
split-complementary
#EC72F5 #BCF572 #72F5AA
monochromatic
#CF10DD #E439F1 #EC72F5 #F4ABF9 #FBE2FD

Accessibility & contrast

On white

2.53
#EC72F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#EC72F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72F5
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72F5#FFFFFF#000000##000000
##EC72F51.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#F183A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec72f5;
/* rgb */ color: rgb(236, 114, 245);
/* oklch */ color: oklch(74.2% 0.216 324.8);
Tailwind
colors: {
  custom: {
    50: '#f5a0f9',
    500: '#ec72f5',
    950: '#000000',
  },
}
SCSS
$custom: #ec72f5;
$custom-light: #f5a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72f5",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 295.878,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74151,
    "c": 0.21599,
    "h": 324.8
  },
  "luminance": 0.3646
}

Semantic roles & 50–950 ramp

primary
#EC72F5
secondary
#D2F3CF
accent
#E30212
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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