#EC94DF#EC94DF

#EC94DF is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.0% C 0.141 H 332.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#EC94DF
RGBrgb(236, 148, 223)
HSLhsl(309, 70%, 75%)
HSVhsv(309, 37%, 93%)
CMYKcmyk(0%, 37.3%, 5.5%, 7.5%)
CIE-LABlab(72.46, 44.03, -24.33)
CIE-LCHlch(72.46, 50.31, 331.07°)
OKLaboklab(78.02% 0.1252 -0.0657)
OKLCHoklch(78.02% 0.141 332.3)
XYZxyz(58.5007, 44.3432, 75.2754)
Luminance0.4434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC94DF #94ECA1
analogous
#CD94EC #EC94DF #EC94B3
triadic
#EC94DF #DFEC94 #94DFEC
tetradic
#EC94DF #ECCD94 #94ECA1 #94B3EC
square
#EC94DF #ECCD94 #94ECA1 #94B3EC
split-complementary
#EC94DF #B3EC94 #94ECCD
monochromatic
#DA2CC0 #E360CF #EC94DF #F5C8EF #FAE5F7

Accessibility & contrast

On white

2.13
#EC94DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#EC94DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC94DF
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC94DF#FFFFFF#000000##000000
##EC94DF1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A9B6DC
Tritanopia (blue-blind)
#F399B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec94df;
/* rgb */ color: rgb(236, 148, 223);
/* oklch */ color: oklch(78.0% 0.141 332.3);
Tailwind
colors: {
  custom: {
    50: '#f3b5e9',
    500: '#ec94df',
    950: '#000000',
  },
}
SCSS
$custom: #ec94df;
$custom-light: #f3b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec94df",
  "rgb": {
    "r": 236,
    "g": 148,
    "b": 223
  },
  "hsl": {
    "h": 308.864,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78017,
    "c": 0.14137,
    "h": 332.3
  },
  "luminance": 0.4434
}

Semantic roles & 50–950 ramp

primary
#EC94DF
secondary
#D9F2DD
accent
#D23014
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC94DF

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

Preview Lab → · Contrast checker → · Palette generator →

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