#EC7FDF#EC7FDF

#EC7FDF is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.177 H 331.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#EC7FDF
RGBrgb(236, 127, 223)
HSLhsl(307, 74%, 71%)
HSVhsv(307, 46%, 93%)
CMYKcmyk(0%, 46.2%, 5.5%, 7.5%)
CIE-LABlab(68.27, 54.67, -30.76)
CIE-LCHlch(68.27, 62.73, 330.64°)
OKLaboklab(74.88% 0.1556 -0.0836)
OKLCHoklch(74.88% 0.177 331.7)
XYZxyz(55.5003, 38.3426, 74.2753)
Luminance0.3834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FDF #7FEC8C
analogous
#C27FEC #EC7FDF #EC7FA8
triadic
#EC7FDF #DFEC7F #7FDFEC
tetradic
#EC7FDF #ECC27F #7FEC8C #7FA8EC
square
#EC7FDF #ECC27F #7FEC8C #7FA8EC
split-complementary
#EC7FDF #A8EC7F #7FECC2
monochromatic
#D21FBC #E44AD2 #EC7FDF #F4B4EC #FBE4F8

Accessibility & contrast

On white

2.42
#EC7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#EC7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FDF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FDF#FFFFFF#000000##000000
##EC7FDF1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#9AACDC
Tritanopia (blue-blind)
#F487A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7fdf;
/* rgb */ color: rgb(236, 127, 223);
/* oklch */ color: oklch(74.9% 0.177 331.7);
Tailwind
colors: {
  custom: {
    50: '#f4a7e9',
    500: '#ec7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fdf;
$custom-light: #f4a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fdf",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 307.156,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74879,
    "c": 0.17662,
    "h": 331.7
  },
  "luminance": 0.38339
}

Semantic roles & 50–950 ramp

primary
#EC7FDF
secondary
#D5F2D8
accent
#D6270F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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