#EC7FF8#EC7FF8

#EC7FF8 is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.0% C 0.199 H 323.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#EC7FF8
RGBrgb(236, 127, 248)
HSLhsl(294, 90%, 74%)
HSVhsv(294, 49%, 97%)
CMYKcmyk(4.8%, 48.8%, 0%, 2.7%)
CIE-LABlab(69.32, 59.06, -42.90)
CIE-LCHlch(69.32, 72.99, 324.01°)
OKLaboklab(76% 0.1599 -0.1183)
OKLCHoklch(76% 0.199 323.5)
XYZxyz(59.1231, 39.7917, 93.3550)
Luminance0.3979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FF8 #8BF87F
analogous
#AF7FF8 #EC7FF8 #F87FC7
triadic
#EC7FF8 #F8EC7F #7FF8EC
tetradic
#EC7FF8 #F8AF7F #8BF87F #7FC7F8
square
#EC7FF8 #F8AF7F #8BF87F #7FC7F8
split-complementary
#EC7FF8 #C7F87F #7FF8AF
monochromatic
#D90DF0 #E345F5 #EC7FF8 #F5B9FB #FBE2FD

Accessibility & contrast

On white

2.34
#EC7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#EC7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FF8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FF8#FFFFFF#000000##000000
##EC7FF81.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#8FAEF4
Tritanopia (blue-blind)
#F08EB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7ff8;
/* rgb */ color: rgb(236, 127, 248);
/* oklch */ color: oklch(76.0% 0.199 323.5);
Tailwind
colors: {
  custom: {
    50: '#f4a8fb',
    500: '#ec7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ff8;
$custom-light: #f4a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ff8",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 294.05,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76001,
    "c": 0.19888,
    "h": 323.5
  },
  "luminance": 0.39789
}

Semantic roles & 50–950 ramp

primary
#EC7FF8
secondary
#D9F5D6
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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