#EC6DE2#EC6DE2

#EC6DE2 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.6% C 0.207 H 330.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EC6DE2
RGBrgb(236, 109, 226)
HSLhsl(305, 77%, 68%)
HSVhsv(305, 54%, 93%)
CMYKcmyk(0%, 53.8%, 4.2%, 7.5%)
CIE-LABlab(65.17, 63.69, -37.24)
CIE-LCHlch(65.17, 73.78, 329.69°)
OKLaboklab(72.62% 0.1805 -0.1019)
OKLCHoklch(72.62% 0.207 330.6)
XYZxyz(53.7878, 34.2646, 75.7174)
Luminance0.3426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6DE2 #6DEC77
analogous
#B66DEC #EC6DE2 #EC6DA3
triadic
#EC6DE2 #E2EC6D #6DE2EC
tetradic
#EC6DE2 #ECB66D #6DEC77 #6DA3EC
square
#EC6DE2 #ECB66D #6DEC77 #6DA3EC
split-complementary
#EC6DE2 #A3EC6D #6DECB6
monochromatic
#C51AB7 #E537D7 #EC6DE2 #F3A3ED #FAD9F8

Accessibility & contrast

On white

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

On black

7.85
#EC6DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6DE2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6DE2#FFFFFF#000000##000000
##EC6DE21.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6693E6
Deuteranopia (green-blind)
#8DA5DE
Tritanopia (blue-blind)
#F4789E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6de2;
/* rgb */ color: rgb(236, 109, 226);
/* oklch */ color: oklch(72.6% 0.207 330.6);
Tailwind
colors: {
  custom: {
    50: '#f59ceb',
    500: '#ec6de2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6de2;
$custom-light: #f59ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6de2",
  "rgb": {
    "r": 236,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 304.724,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.20728,
    "h": 330.6
  },
  "luminance": 0.34261
}

Semantic roles & 50–950 ramp

primary
#EC6DE2
secondary
#C7EECA
accent
#D91C0C
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170F16
muted
#857E84

Preview Lab

Preview with #EC6DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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