#EC5FF3#EC5FF3

#EC5FF3 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.8% C 0.241 H 325.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#EC5FF3
RGBrgb(236, 95, 243)
HSLhsl(297, 86%, 66%)
HSVhsv(297, 61%, 95%)
CMYKcmyk(2.9%, 60.9%, 0%, 4.7%)
CIE-LABlab(63.75, 72.57, -48.91)
CIE-LCHlch(63.75, 87.51, 326.02°)
OKLaboklab(71.84% 0.1993 -0.1354)
OKLCHoklch(71.84% 0.241 325.8)
XYZxyz(54.8608, 32.4917, 88.1585)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FF3 #66F35F
analogous
#A25FF3 #EC5FF3 #F35FB0
triadic
#EC5FF3 #F3EC5F #5FF3EC
tetradic
#EC5FF3 #F3A25F #66F35F #5FB0F3
square
#EC5FF3 #F3A25F #66F35F #5FB0F3
split-complementary
#EC5FF3 #B0F35F #5FF3A2
monochromatic
#C00FC9 #E526EF #EC5FF3 #F398F7 #FAD1FC

Accessibility & contrast

On white

2.80
#EC5FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#EC5FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FF3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FF3#FFFFFF#000000##000000
##EC5FF31.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#7CA1EF
Tritanopia (blue-blind)
#F273A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec5ff3;
/* rgb */ color: rgb(236, 95, 243);
/* oklch */ color: oklch(71.8% 0.241 325.8);
Tailwind
colors: {
  custom: {
    50: '#f595f7',
    500: '#ec5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ff3;
$custom-light: #f595f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ff3",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 297.162,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71839,
    "c": 0.24094,
    "h": 325.8
  },
  "luminance": 0.32488
}

Semantic roles & 50–950 ramp

primary
#EC5FF3
secondary
#C1EFBF
accent
#E3030E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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