#EC8FFD#EC8FFD

#EC8FFD is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.5% C 0.178 H 321.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#EC8FFD
RGBrgb(236, 143, 253)
HSLhsl(291, 96%, 78%)
HSVhsv(291, 43%, 99%)
CMYKcmyk(6.7%, 43.5%, 0%, 0.8%)
CIE-LABlab(72.61, 52.03, -40.48)
CIE-LCHlch(72.61, 65.92, 322.11°)
OKLaboklab(78.52% 0.1389 -0.1114)
OKLCHoklch(78.52% 0.178 321.3)
XYZxyz(62.1421, 44.5720, 98.2393)
Luminance0.4457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FFD #A0FD8F
analogous
#B58FFD #EC8FFD #FD8FD7
triadic
#EC8FFD #FDEC8F #8FFDEC
tetradic
#EC8FFD #FDB58F #A0FD8F #8FD7FD
square
#EC8FFD #FDB58F #A0FD8F #8FD7FD
split-complementary
#EC8FFD #D7FD8F #8FFDB5
monochromatic
#D817FB #E253FC #EC8FFD #F6CBFE #FAE1FE

Accessibility & contrast

On white

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

On black

9.91
#EC8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FFD
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FFD#FFFFFF#000000##000000
##EC8FFD1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#99B6FA
Tritanopia (blue-blind)
#EE9DBA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec8ffd;
/* rgb */ color: rgb(236, 143, 253);
/* oklch */ color: oklch(78.5% 0.178 321.3);
Tailwind
colors: {
  custom: {
    50: '#f4b2fe',
    500: '#ec8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ffd;
$custom-light: #f4b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ffd",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 290.727,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78516,
    "c": 0.17806,
    "h": 321.3
  },
  "luminance": 0.4457
}

Semantic roles & 50–950 ramp

primary
#EC8FFD
secondary
#DAF7D4
accent
#E60023
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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