#EC5FF4#EC5FF4

#EC5FF4 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.9% C 0.242 H 325.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#EC5FF4
RGBrgb(236, 95, 244)
HSLhsl(297, 87%, 66%)
HSVhsv(297, 61%, 96%)
CMYKcmyk(3.3%, 61.1%, 0%, 4.3%)
CIE-LABlab(63.80, 72.74, -49.39)
CIE-LCHlch(63.80, 87.92, 325.82°)
OKLaboklab(71.89% 0.1993 -0.1368)
OKLCHoklch(71.89% 0.242 325.5)
XYZxyz(55.0122, 32.5522, 88.9560)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5FF4 #67F45F
analogous
#A25FF4 #EC5FF4 #F45FB1
triadic
#EC5FF4 #F4EC5F #5FF4EC
tetradic
#EC5FF4 #F4A25F #67F45F #5FB1F4
square
#EC5FF4 #F4A25F #67F45F #5FB1F4
split-complementary
#EC5FF4 #B1F45F #5FF4A2
monochromatic
#C10ECB #E526F0 #EC5FF4 #F398F8 #FAD2FC

Accessibility & contrast

On white

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

On black

7.51
#EC5FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5FF4
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5FF4#FFFFFF#000000##000000
##EC5FF41.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF8
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#F174A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec5ff4;
/* rgb */ color: rgb(236, 95, 244);
/* oklch */ color: oklch(71.9% 0.242 325.5);
Tailwind
colors: {
  custom: {
    50: '#f695f8',
    500: '#ec5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ff4;
$custom-light: #f695f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ff4",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 296.779,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71891,
    "c": 0.24176,
    "h": 325.5
  },
  "luminance": 0.32549
}

Semantic roles & 50–950 ramp

primary
#EC5FF4
secondary
#C2F0BF
accent
#E4020E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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