#EC6FDC#EC6FDC

#EC6FDC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.6% C 0.199 H 332.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#EC6FDC
RGBrgb(236, 111, 220)
HSLhsl(308, 77%, 68%)
HSVhsv(308, 53%, 93%)
CMYKcmyk(0%, 53%, 6.8%, 7.5%)
CIE-LABlab(65.26, 61.80, -33.76)
CIE-LCHlch(65.26, 70.42, 331.35°)
OKLaboklab(72.6% 0.1769 -0.092)
OKLCHoklch(72.6% 0.199 332.5)
XYZxyz(53.1947, 34.3726, 71.5291)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6FDC #6FEC7F
analogous
#BD6FEC #EC6FDC #EC6F9D
triadic
#EC6FDC #DCEC6F #6FDCEC
tetradic
#EC6FDC #ECBD6F #6FEC7F #6F9DEC
square
#EC6FDC #ECBD6F #6FEC7F #6F9DEC
split-complementary
#EC6FDC #9DEC6F #6FECBD
monochromatic
#C61AB0 #E539CF #EC6FDC #F3A5E9 #FADBF6

Accessibility & contrast

On white

2.67
#EC6FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#EC6FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6FDC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6FDC#FFFFFF#000000##000000
##EC6FDC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93E0
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#F5789C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6fdc;
/* rgb */ color: rgb(236, 111, 220);
/* oklch */ color: oklch(72.6% 0.199 332.5);
Tailwind
colors: {
  custom: {
    50: '#f59de7',
    500: '#ec6fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ec6fdc;
$custom-light: #f59de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6fdc",
  "rgb": {
    "r": 236,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 307.68,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72603,
    "c": 0.19942,
    "h": 332.5
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#EC6FDC
secondary
#C8EFCD
accent
#D9270D
background
#FFFAFE
surface
#FFF3FC
border
#D7CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC6FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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