#EC5CF2#EC5CF2

#EC5CF2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.5% C 0.244 H 326.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#EC5CF2
RGBrgb(236, 92, 242)
HSLhsl(298, 85%, 65%)
HSVhsv(298, 62%, 95%)
CMYKcmyk(2.5%, 62%, 0%, 5.1%)
CIE-LABlab(63.26, 73.61, -49.13)
CIE-LCHlch(63.26, 88.50, 326.28°)
OKLaboklab(71.47% 0.2026 -0.136)
OKLCHoklch(71.47% 0.244 326.1)
XYZxyz(54.4452, 31.9013, 87.2771)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CF2 #62F25C
analogous
#A15CF2 #EC5CF2 #F25CAD
triadic
#EC5CF2 #F2EC5C #5CF2EC
tetradic
#EC5CF2 #F2A15C #62F25C #5CADF2
square
#EC5CF2 #F2A15C #62F25C #5CADF2
split-complementary
#EC5CF2 #ADF25C #5CF2A1
monochromatic
#BD10C4 #E523ED #EC5CF2 #F395F7 #F9CDFB

Accessibility & contrast

On white

2.85
#EC5CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#EC5CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CF2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CF2#FFFFFF#000000##000000
##EC5CF21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F2719F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5cf2;
/* rgb */ color: rgb(236, 92, 242);
/* oklch */ color: oklch(71.5% 0.244 326.1);
Tailwind
colors: {
  custom: {
    50: '#f693f7',
    500: '#ec5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cf2;
$custom-light: #f693f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cf2",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 297.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71471,
    "c": 0.24403,
    "h": 326.1
  },
  "luminance": 0.31898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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