#EC6AEB#EC6AEB

#EC6AEB is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.7% C 0.219 H 327.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#EC6AEB
RGBrgb(236, 106, 235)
HSLhsl(300, 77%, 67%)
HSVhsv(300, 55%, 93%)
CMYKcmyk(0%, 55.1%, 0.4%, 7.5%)
CIE-LABlab(65.08, 66.54, -42.39)
CIE-LCHlch(65.08, 78.89, 327.50°)
OKLaboklab(72.68% 0.1855 -0.1166)
OKLCHoklch(72.68% 0.219 327.8)
XYZxyz(54.7407, 34.1424, 82.2880)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6AEB #6AEC6B
analogous
#AC6AEC #EC6AEB #EC6AAA
triadic
#EC6AEB #EBEC6A #6AEBEC
tetradic
#EC6AEB #ECAC6A #6AEC6B #6AAAEC
square
#EC6AEB #ECAC6A #6AEC6B #6AAAEC
split-complementary
#EC6AEB #AAEC6A #6AECAC
monochromatic
#C319C1 #E534E4 #EC6AEB #F3A0F2 #FAD7FA

Accessibility & contrast

On white

2.68
#EC6AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#EC6AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6AEB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6AEB#FFFFFF#000000##000000
##EC6AEB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#F379A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6aeb;
/* rgb */ color: rgb(236, 106, 235);
/* oklch */ color: oklch(72.7% 0.219 327.8);
Tailwind
colors: {
  custom: {
    50: '#f59bf2',
    500: '#ec6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ec6aeb;
$custom-light: #f59bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6aeb",
  "rgb": {
    "r": 236,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 300.462,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72684,
    "c": 0.21912,
    "h": 327.8
  },
  "luminance": 0.34139
}

Semantic roles & 50–950 ramp

primary
#EC6AEB
secondary
#C4EEC5
accent
#DA0D0C
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170F17
muted
#857E85

Preview Lab

Preview with #EC6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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