#EC8FF7#EC8FF7

#EC8FF7 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.2% C 0.172 H 323.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#EC8FF7
RGBrgb(236, 143, 247)
HSLhsl(294, 87%, 76%)
HSVhsv(294, 42%, 97%)
CMYKcmyk(4.5%, 42.1%, 0%, 3.1%)
CIE-LABlab(72.36, 50.90, -37.61)
CIE-LCHlch(72.36, 63.29, 323.54°)
OKLaboklab(78.25% 0.1378 -0.1032)
OKLCHoklch(78.25% 0.172 323.2)
XYZxyz(61.2013, 44.1957, 93.2845)
Luminance0.4419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FF7 #9AF78F
analogous
#B88FF7 #EC8FF7 #F78FCE
triadic
#EC8FF7 #F7EC8F #8FF7EC
tetradic
#EC8FF7 #F7B88F #9AF78F #8FCEF7
square
#EC8FF7 #F7B88F #9AF78F #8FCEF7
split-complementary
#EC8FF7 #CEF78F #8FF7B8
monochromatic
#D91DEF #E256F3 #EC8FF7 #F6C8FB #FAE2FD

Accessibility & contrast

On white

2.13
#EC8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#EC8FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FF7
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FF7#FFFFFF#000000##000000
##EC8FF71.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AAFB
Deuteranopia (green-blind)
#9CB5F4
Tritanopia (blue-blind)
#EF9BB8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec8ff7;
/* rgb */ color: rgb(236, 143, 247);
/* oklch */ color: oklch(78.2% 0.172 323.2);
Tailwind
colors: {
  custom: {
    50: '#f4b2fa',
    500: '#ec8ff7',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ff7;
$custom-light: #f4b2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ff7",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 293.654,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78247,
    "c": 0.17216,
    "h": 323.2
  },
  "luminance": 0.44193
}

Semantic roles & 50–950 ramp

primary
#EC8FF7
secondary
#D9F5D6
accent
#E3021A
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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