#EC8CF5#EC8CF5

#EC8CF5 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.7% C 0.175 H 323.9°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#EC8CF5
RGBrgb(236, 140, 245)
HSLhsl(295, 84%, 75%)
HSVhsv(295, 43%, 96%)
CMYKcmyk(3.7%, 42.9%, 0%, 3.9%)
CIE-LABlab(71.68, 52.06, -37.58)
CIE-LCHlch(71.68, 64.20, 324.18°)
OKLaboklab(77.71% 0.1416 -0.1031)
OKLCHoklch(77.71% 0.175 323.9)
XYZxyz(60.4500, 43.1842, 91.5197)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CF5 #95F58C
analogous
#B78CF5 #EC8CF5 #F58CC9
triadic
#EC8CF5 #F5EC8C #8CF5EC
tetradic
#EC8CF5 #F5B78C #95F58C #8CC9F5
square
#EC8CF5 #F5B78C #95F58C #8CC9F5
split-complementary
#EC8CF5 #C9F58C #8CF5B7
monochromatic
#D91BEB #E354F0 #EC8CF5 #F5C4FA #FAE3FD

Accessibility & contrast

On white

2.18
#EC8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#EC8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CF5
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CF5#FFFFFF#000000##000000
##EC8CF51.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#9BB4F2
Tritanopia (blue-blind)
#F098B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8cf5;
/* rgb */ color: rgb(236, 140, 245);
/* oklch */ color: oklch(77.7% 0.175 323.9);
Tailwind
colors: {
  custom: {
    50: '#f4b0f8',
    500: '#ec8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cf5;
$custom-light: #f4b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cf5",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 294.857,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77712,
    "c": 0.17516,
    "h": 323.9
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#EC8CF5
secondary
#D9F4D7
accent
#E00518
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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