#EC8FFE#EC8FFE

#EC8FFE is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.6% C 0.179 H 320.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#EC8FFE
RGBrgb(236, 143, 254)
HSLhsl(290, 98%, 78%)
HSVhsv(290, 44%, 100%)
CMYKcmyk(7.1%, 43.7%, 0%, 0.4%)
CIE-LABlab(72.65, 52.22, -40.96)
CIE-LCHlch(72.65, 66.36, 321.89°)
OKLaboklab(78.56% 0.139 -0.1128)
OKLCHoklch(78.56% 0.179 320.9)
XYZxyz(62.3018, 44.6359, 99.0805)
Luminance0.4463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FFE #A1FE8F
analogous
#B48FFE #EC8FFE #FE8FD9
triadic
#EC8FFE #FEEC8F #8FFEEC
tetradic
#EC8FFE #FEB48F #A1FE8F #8FD9FE
square
#EC8FFE #FEB48F #A1FE8F #8FD9FE
split-complementary
#EC8FFE #D9FE8F #8FFEB4
monochromatic
#D716FD #E252FD #EC8FFE #F6CCFF #FAE1FF

Accessibility & contrast

On white

2.12
#EC8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#EC8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FFE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FFE#FFFFFF#000000##000000
##EC8FFE1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#EE9DBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec8ffe;
/* rgb */ color: rgb(236, 143, 254);
/* oklch */ color: oklch(78.6% 0.179 320.9);
Tailwind
colors: {
  custom: {
    50: '#f4b2ff',
    500: '#ec8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ffe;
$custom-light: #f4b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ffe",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 290.27,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78561,
    "c": 0.17905,
    "h": 320.9
  },
  "luminance": 0.44634
}

Semantic roles & 50–950 ramp

primary
#EC8FFE
secondary
#DAF7D4
accent
#E60025
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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