#ECA5EC#ECA5EC

#ECA5EC is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.3% C 0.124 H 326.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#ECA5EC
RGBrgb(236, 165, 236)
HSLhsl(300, 65%, 79%)
HSVhsv(300, 30%, 93%)
CMYKcmyk(0%, 30.1%, 0%, 7.5%)
CIE-LABlab(76.56, 37.42, -25.16)
CIE-LCHlch(76.56, 45.09, 326.08°)
OKLaboklab(81.27% 0.1035 -0.0681)
OKLCHoklch(81.27% 0.124 326.6)
XYZxyz(63.1861, 50.8015, 85.8179)
Luminance0.5080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECA5EC #A5ECA5
analogous
#C8A5EC #ECA5EC #ECA5C8
triadic
#ECA5EC #ECECA5 #A5ECEC
tetradic
#ECA5EC #ECC8A5 #A5ECA5 #A5C8EC
square
#ECA5EC #ECC8A5 #A5ECA5 #A5C8EC
split-complementary
#ECA5EC #C8ECA5 #A5ECC8
monochromatic
#D740D7 #E172E1 #ECA5EC #F7D8F7 #FAE6FA

Accessibility & contrast

On white

1.88
#ECA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#ECA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECA5EC
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECA5EC#FFFFFF#000000##000000
##ECA5EC1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B7EF
Deuteranopia (green-blind)
#B1C0EA
Tritanopia (blue-blind)
#F0ABBF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #eca5ec;
/* rgb */ color: rgb(236, 165, 236);
/* oklch */ color: oklch(81.3% 0.124 326.6);
Tailwind
colors: {
  custom: {
    50: '#f3c0f2',
    500: '#eca5ec',
    950: '#000000',
  },
}
SCSS
$custom: #eca5ec;
$custom-light: #f3c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eca5ec",
  "rgb": {
    "r": 236,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.81275,
    "c": 0.1239,
    "h": 326.6
  },
  "luminance": 0.50799
}

Semantic roles & 50–950 ramp

primary
#ECA5EC
secondary
#6DC86D
accent
#CD1919
background
#FFFDFF
surface
#FEF9FE
border
#D6D2D6
text
#171217
muted
#858285

Preview Lab

Preview with #ECA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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