#EC7FFA#EC7FFA

#EC7FFA is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.1% C 0.201 H 322.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#EC7FFA
RGBrgb(236, 127, 250)
HSLhsl(293, 92%, 74%)
HSVhsv(293, 49%, 98%)
CMYKcmyk(5.6%, 49.2%, 0%, 2%)
CIE-LABlab(69.41, 59.42, -43.85)
CIE-LCHlch(69.41, 73.85, 323.57°)
OKLaboklab(76.1% 0.1602 -0.121)
OKLCHoklch(76.1% 0.201 322.9)
XYZxyz(59.4350, 39.9164, 94.9979)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FFA #8DFA7F
analogous
#AF7FFA #EC7FFA #FA7FCB
triadic
#EC7FFA #FAEC7F #7FFAEC
tetradic
#EC7FFA #FAAF7F #8DFA7F #7FCBFA
square
#EC7FFA #FAAF7F #8DFA7F #7FCBFA
split-complementary
#EC7FFA #CBFA7F #7FFAAF
monochromatic
#DA0AF5 #E344F8 #EC7FFA #F5BAFC #FBE2FE

Accessibility & contrast

On white

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

On black

8.98
#EC7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FFA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FFA#FFFFFF#000000##000000
##EC7FFA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#EF8FB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7ffa;
/* rgb */ color: rgb(236, 127, 250);
/* oklch */ color: oklch(76.1% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#f4a8fc',
    500: '#ec7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ffa;
$custom-light: #f4a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ffa",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 293.171,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76096,
    "c": 0.20074,
    "h": 322.9
  },
  "luminance": 0.39914
}

Semantic roles & 50–950 ramp

primary
#EC7FFA
secondary
#D9F6D5
accent
#E6001A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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