#EC5DF2#EC5DF2

#EC5DF2 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 71.6% C 0.243 H 326.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#EC5DF2
RGBrgb(236, 93, 242)
HSLhsl(298, 85%, 66%)
HSVhsv(298, 62%, 95%)
CMYKcmyk(2.5%, 61.6%, 0%, 5.1%)
CIE-LABlab(63.41, 73.21, -48.90)
CIE-LCHlch(63.41, 88.04, 326.26°)
OKLaboklab(71.58% 0.2015 -0.1354)
OKLCHoklch(71.58% 0.243 326.1)
XYZxyz(54.5324, 32.0757, 87.3061)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DF2 #63F25D
analogous
#A15DF2 #EC5DF2 #F25DAD
triadic
#EC5DF2 #F2EC5D #5DF2EC
tetradic
#EC5DF2 #F2A15D #63F25D #5DADF2
square
#EC5DF2 #F2A15D #63F25D #5DADF2
split-complementary
#EC5DF2 #ADF25D #5DF2A1
monochromatic
#BE10C5 #E524ED #EC5DF2 #F396F7 #F9CEFB

Accessibility & contrast

On white

2.83
#EC5DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#EC5DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DF2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DF2#FFFFFF#000000##000000
##EC5DF21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#F272A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5df2;
/* rgb */ color: rgb(236, 93, 242);
/* oklch */ color: oklch(71.6% 0.243 326.1);
Tailwind
colors: {
  custom: {
    50: '#f694f7',
    500: '#ec5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5df2;
$custom-light: #f694f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5df2",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 297.584,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71575,
    "c": 0.24274,
    "h": 326.1
  },
  "luminance": 0.32072
}

Semantic roles & 50–950 ramp

primary
#EC5DF2
secondary
#BFEEBD
accent
#E2040D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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