#EC7EFB#EC7EFB

#EC7EFB is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.203 H 322.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#EC7EFB
RGBrgb(236, 126, 251)
HSLhsl(293, 94%, 74%)
HSVhsv(293, 50%, 98%)
CMYKcmyk(6%, 49.8%, 0%, 1.6%)
CIE-LABlab(69.27, 60.09, -44.61)
CIE-LCHlch(69.27, 74.84, 323.41°)
OKLaboklab(76.01% 0.1616 -0.1232)
OKLCHoklch(76.01% 0.203 322.7)
XYZxyz(59.4637, 39.7223, 95.7830)
Luminance0.3972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7EFB #8DFB7E
analogous
#AE7EFB #EC7EFB #FB7ECC
triadic
#EC7EFB #FBEC7E #7EFBEC
tetradic
#EC7EFB #FBAE7E #8DFB7E #7ECCFB
square
#EC7EFB #FBAE7E #8DFB7E #7ECCFB
split-complementary
#EC7EFB #CCFB7E #7EFBAE
monochromatic
#DA08F7 #E343F9 #EC7EFB #F5B9FD #FBE1FE

Accessibility & contrast

On white

2.35
#EC7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#EC7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7EFB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7EFB#FFFFFF#000000##000000
##EC7EFB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#8DAEF7
Tritanopia (blue-blind)
#EF8EB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7efb;
/* rgb */ color: rgb(236, 126, 251);
/* oklch */ color: oklch(76.0% 0.203 322.7);
Tailwind
colors: {
  custom: {
    50: '#f4a7fd',
    500: '#ec7efb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7efb;
$custom-light: #f4a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7efb",
  "rgb": {
    "r": 236,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 292.8,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76008,
    "c": 0.20323,
    "h": 322.7
  },
  "luminance": 0.3972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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