#EC8CFA#EC8CFA

#EC8CFA is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.9% C 0.180 H 322.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#EC8CFA
RGBrgb(236, 140, 250)
HSLhsl(292, 92%, 76%)
HSVhsv(292, 44%, 98%)
CMYKcmyk(5.6%, 44%, 0%, 2%)
CIE-LABlab(71.89, 52.98, -39.98)
CIE-LCHlch(71.89, 66.37, 322.97°)
OKLaboklab(77.94% 0.1425 -0.11)
OKLCHoklch(77.94% 0.18 322.3)
XYZxyz(61.2236, 43.4936, 95.5941)
Luminance0.4349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CFA #9AFA8C
analogous
#B58CFA #EC8CFA #FA8CD1
triadic
#EC8CFA #FAEC8C #8CFAEC
tetradic
#EC8CFA #FAB58C #9AFA8C #8CD1FA
square
#EC8CFA #FAB58C #9AFA8C #8CD1FA
split-complementary
#EC8CFA #D1FA8C #8CFAB5
monochromatic
#D917F5 #E251F7 #EC8CFA #F6C7FD #FAE2FE

Accessibility & contrast

On white

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

On black

9.70
#EC8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CFA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CFA#FFFFFF#000000##000000
##EC8CFA1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#EF99B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8cfa;
/* rgb */ color: rgb(236, 140, 250);
/* oklch */ color: oklch(77.9% 0.180 322.3);
Tailwind
colors: {
  custom: {
    50: '#f4b0fc',
    500: '#ec8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cfa;
$custom-light: #f4b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cfa",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 292.364,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77936,
    "c": 0.18,
    "h": 322.3
  },
  "luminance": 0.43491
}

Semantic roles & 50–950 ramp

primary
#EC8CFA
secondary
#D9F6D5
accent
#E6001D
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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