#EC8FF2#EC8FF2

#EC8FF2 is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.0% C 0.167 H 324.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#EC8FF2
RGBrgb(236, 143, 242)
HSLhsl(296, 79%, 75%)
HSVhsv(296, 41%, 95%)
CMYKcmyk(2.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(72.16, 49.98, -35.20)
CIE-LCHlch(72.16, 61.13, 324.85°)
OKLaboklab(78.03% 0.1368 -0.0963)
OKLCHoklch(78.03% 0.167 324.8)
XYZxyz(60.4401, 43.8912, 89.2754)
Luminance0.4389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FF2 #95F28F
analogous
#BB8FF2 #EC8FF2 #F28FC6
triadic
#EC8FF2 #F2EC8F #8FF2EC
tetradic
#EC8FF2 #F2BB8F #95F28F #8FC6F2
square
#EC8FF2 #F2BB8F #95F28F #8FC6F2
split-complementary
#EC8FF2 #C6F28F #8FF2BB
monochromatic
#D921E5 #E358EC #EC8FF2 #F5C6F8 #FAE4FC

Accessibility & contrast

On white

2.15
#EC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#EC8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FF2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FF2#FFFFFF#000000##000000
##EC8FF21.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F09AB5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec8ff2;
/* rgb */ color: rgb(236, 143, 242);
/* oklch */ color: oklch(78.0% 0.167 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4b2f6',
    500: '#ec8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ff2;
$custom-light: #f4b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ff2",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 296.364,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78028,
    "c": 0.16732,
    "h": 324.8
  },
  "luminance": 0.43889
}

Semantic roles & 50–950 ramp

primary
#EC8FF2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EC8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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