#EC6AEF#EC6AEF

#EC6AEF is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.9% C 0.222 H 326.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#EC6AEF
RGBrgb(236, 106, 239)
HSLhsl(299, 81%, 68%)
HSVhsv(299, 56%, 94%)
CMYKcmyk(1.3%, 55.6%, 0%, 6.3%)
CIE-LABlab(65.26, 67.22, -44.31)
CIE-LCHlch(65.26, 80.51, 326.60°)
OKLaboklab(72.88% 0.1859 -0.1222)
OKLCHoklch(72.88% 0.222 326.7)
XYZxyz(55.3251, 34.3762, 85.3658)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6AEF #6DEF6A
analogous
#AA6AEF #EC6AEF #EF6AAF
triadic
#EC6AEF #EFEC6A #6AEFEC
tetradic
#EC6AEF #EFAA6A #6DEF6A #6AAFEF
square
#EC6AEF #EFAA6A #6DEF6A #6AAFEF
split-complementary
#EC6AEF #AFEF6A #6AEFAA
monochromatic
#C516C9 #E533E9 #EC6AEF #F3A1F5 #FAD9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC6AEF#FFFFFF#000000##000000
##EC6AEF1.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)
#5A94F3
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#F27AA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6aef;
/* rgb */ color: rgb(236, 106, 239);
/* oklch */ color: oklch(72.9% 0.222 326.7);
Tailwind
colors: {
  custom: {
    50: '#f59bf4',
    500: '#ec6aef',
    950: '#000000',
  },
}
SCSS
$custom: #ec6aef;
$custom-light: #f59bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6aef",
  "rgb": {
    "r": 236,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 298.647,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72879,
    "c": 0.22248,
    "h": 326.7
  },
  "luminance": 0.34373
}

Semantic roles & 50–950 ramp

primary
#EC6AEF
secondary
#C7EFC6
accent
#DD090D
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170F17
muted
#857E85

Preview Lab

Preview with #EC6AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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