#EC6ED8#EC6ED8

#EC6ED8 is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.3% C 0.198 H 333.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#EC6ED8
RGBrgb(236, 110, 216)
HSLhsl(310, 77%, 68%)
HSVhsv(310, 53%, 93%)
CMYKcmyk(0%, 53.4%, 8.5%, 7.5%)
CIE-LABlab(64.92, 61.62, -32.05)
CIE-LCHlch(64.92, 69.45, 332.52°)
OKLaboklab(72.3% 0.1776 -0.0871)
OKLCHoklch(72.3% 0.198 333.9)
XYZxyz(52.5627, 33.9462, 68.7362)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6ED8 #6EEC82
analogous
#C16EEC #EC6ED8 #EC6E99
triadic
#EC6ED8 #D8EC6E #6ED8EC
tetradic
#EC6ED8 #ECC16E #6EEC82 #6E99EC
square
#EC6ED8 #ECC16E #6EEC82 #6E99EC
split-complementary
#EC6ED8 #99EC6E #6EECC1
monochromatic
#C61AAA #E538C9 #EC6ED8 #F3A4E7 #FADAF5

Accessibility & contrast

On white

2.70
#EC6ED8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#EC6ED8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6ED8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6ED8#FFFFFF#000000##000000
##EC6ED81.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DB
Deuteranopia (green-blind)
#92A4D5
Tritanopia (blue-blind)
#F67699
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec6ed8;
/* rgb */ color: rgb(236, 110, 216);
/* oklch */ color: oklch(72.3% 0.198 333.9);
Tailwind
colors: {
  custom: {
    50: '#f59de4',
    500: '#ec6ed8',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ed8;
$custom-light: #f59de4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ed8",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 309.524,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.723,
    "c": 0.1978,
    "h": 333.9
  },
  "luminance": 0.33943
}

Semantic roles & 50–950 ramp

primary
#EC6ED8
secondary
#C7EECE
accent
#D92D0C
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC6ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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