#EF5CDF#EF5CDF

#EF5CDF is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.9% C 0.231 H 332.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#EF5CDF
RGBrgb(239, 92, 223)
HSLhsl(307, 82%, 65%)
HSVhsv(307, 62%, 94%)
CMYKcmyk(0%, 61.5%, 6.7%, 6.3%)
CIE-LABlab(62.79, 71.26, -39.25)
CIE-LCHlch(62.79, 81.36, 331.15°)
OKLaboklab(70.92% 0.2042 -0.1075)
OKLCHoklch(70.92% 0.231 332.2)
XYZxyz(52.7430, 31.3367, 73.0684)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5CDF #5CEF6C
analogous
#B65CEF #EF5CDF #EF5C95
triadic
#EF5CDF #DFEF5C #5CDFEF
tetradic
#EF5CDF #EFB65C #5CEF6C #5C95EF
square
#EF5CDF #EFB65C #5CEF6C #5C95EF
split-complementary
#EF5CDF #95EF5C #5CEFB6
monochromatic
#BE13AB #EA24D4 #EF5CDF #F494EA #FACBF5

Accessibility & contrast

On white

2.89
#EF5CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#EF5CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5CDF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5CDF#FFFFFF#000000##000000
##EF5CDF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE3
Deuteranopia (green-blind)
#879FDB
Tritanopia (blue-blind)
#F96995
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ef5cdf;
/* rgb */ color: rgb(239, 92, 223);
/* oklch */ color: oklch(70.9% 0.231 332.2);
Tailwind
colors: {
  custom: {
    50: '#f893e9',
    500: '#ef5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ef5cdf;
$custom-light: #f893e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5cdf",
  "rgb": {
    "r": 239,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 306.531,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70922,
    "c": 0.2308,
    "h": 332.2
  },
  "luminance": 0.31333
}

Semantic roles & 50–950 ramp

primary
#EF5CDF
secondary
#BAECC0
accent
#DF1E07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EF5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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