#EC7EF7#EC7EF7

#EC7EF7 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.8% C 0.200 H 323.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EC7EF7
RGBrgb(236, 126, 247)
HSLhsl(295, 88%, 73%)
HSVhsv(295, 49%, 97%)
CMYKcmyk(4.5%, 49%, 0%, 3.1%)
CIE-LABlab(69.09, 59.36, -42.71)
CIE-LCHlch(69.09, 73.12, 324.27°)
OKLaboklab(75.82% 0.1611 -0.1177)
OKLCHoklch(75.82% 0.2 323.8)
XYZxyz(58.8398, 39.4728, 92.4973)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EF7 #89F77E
analogous
#AF7EF7 #EC7EF7 #F77EC6
triadic
#EC7EF7 #F7EC7E #7EF7EC
tetradic
#EC7EF7 #F7AF7E #89F77E #7EC6F7
square
#EC7EF7 #F7AF7E #89F77E #7EC6F7
split-complementary
#EC7EF7 #C6F77E #7EF7AF
monochromatic
#D80FEC #E444F3 #EC7EF7 #F4B8FB #FBE2FD

Accessibility & contrast

On white

2.36
#EC7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EC7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EF7
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EF7#FFFFFF#000000##000000
##EC7EF71.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#F08DAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7ef7;
/* rgb */ color: rgb(236, 126, 247);
/* oklch */ color: oklch(75.8% 0.200 323.8);
Tailwind
colors: {
  custom: {
    50: '#f4a7fa',
    500: '#ec7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ef7;
$custom-light: #f4a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ef7",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 294.545,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75817,
    "c": 0.19951,
    "h": 323.8
  },
  "luminance": 0.3947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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