#EC8CF8#EC8CF8

#EC8CF8 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.8% C 0.178 H 323.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#EC8CF8
RGBrgb(236, 140, 248)
HSLhsl(293, 89%, 76%)
HSVhsv(293, 44%, 97%)
CMYKcmyk(4.8%, 43.5%, 0%, 2.7%)
CIE-LABlab(71.80, 52.61, -39.02)
CIE-LCHlch(71.80, 65.50, 323.44°)
OKLaboklab(77.85% 0.1422 -0.1072)
OKLCHoklch(77.85% 0.178 323)
XYZxyz(60.9117, 43.3689, 93.9512)
Luminance0.4337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CF8 #98F88C
analogous
#B68CF8 #EC8CF8 #F88CCE
triadic
#EC8CF8 #F8EC8C #8CF8EC
tetradic
#EC8CF8 #F8B68C #98F88C #8CCEF8
square
#EC8CF8 #F8B68C #98F88C #8CCEF8
split-complementary
#EC8CF8 #CEF88C #8CF8B6
monochromatic
#D919F1 #E252F4 #EC8CF8 #F6C6FC #FAE2FD

Accessibility & contrast

On white

2.17
#EC8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#EC8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CF8
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CF8#FFFFFF#000000##000000
##EC8CF81.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#EF99B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8cf8;
/* rgb */ color: rgb(236, 140, 248);
/* oklch */ color: oklch(77.8% 0.178 323.0);
Tailwind
colors: {
  custom: {
    50: '#f4b0fb',
    500: '#ec8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cf8;
$custom-light: #f4b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cf8",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 293.333,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.17805,
    "h": 323
  },
  "luminance": 0.43366
}

Semantic roles & 50–950 ramp

primary
#EC8CF8
secondary
#D9F5D6
accent
#E5001A
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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