#EC62F6#EC62F6

#EC62F6 is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.3% C 0.239 H 324.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#EC62F6
RGBrgb(236, 98, 246)
HSLhsl(296, 89%, 67%)
HSVhsv(296, 60%, 96%)
CMYKcmyk(4.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(64.34, 71.84, -49.63)
CIE-LCHlch(64.34, 87.32, 325.36°)
OKLaboklab(72.32% 0.196 -0.1375)
OKLCHoklch(72.32% 0.239 324.9)
XYZxyz(55.5930, 33.2253, 90.6558)
Luminance0.3322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC62F6 #6CF662
analogous
#A262F6 #EC62F6 #F662B6
triadic
#EC62F6 #F6EC62 #62F6EC
tetradic
#EC62F6 #F6A262 #6CF662 #62B6F6
square
#EC62F6 #F6A262 #6CF662 #62B6F6
split-complementary
#EC62F6 #B6F662 #62F6A2
monochromatic
#C40CD2 #E528F3 #EC62F6 #F39CF9 #FAD6FD

Accessibility & contrast

On white

2.75
#EC62F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#EC62F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC62F6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC62F6#FFFFFF#000000##000000
##EC62F61.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#7CA2F2
Tritanopia (blue-blind)
#F177A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec62f6;
/* rgb */ color: rgb(236, 98, 246);
/* oklch */ color: oklch(72.3% 0.239 324.9);
Tailwind
colors: {
  custom: {
    50: '#f597fa',
    500: '#ec62f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec62f6;
$custom-light: #f597fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec62f6",
  "rgb": {
    "r": 236,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 295.946,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.23944,
    "h": 324.9
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#EC62F6
secondary
#C6F1C3
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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