#EC7CFB#EC7CFB

#EC7CFB is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.7% C 0.206 H 322.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EC7CFB
RGBrgb(236, 124, 251)
HSLhsl(293, 94%, 74%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(6%, 50.6%, 0%, 1.6%)
CIE-LABlab(68.91, 61.05, -45.19)
CIE-LCHlch(68.91, 75.95, 323.49°)
OKLaboklab(75.74% 0.1643 -0.1248)
OKLCHoklch(75.74% 0.206 322.8)
XYZxyz(59.2105, 39.2159, 95.6986)
Luminance0.3921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7CFB #8BFB7C
analogous
#AC7CFB #EC7CFB #FB7CCA
triadic
#EC7CFB #FBEC7C #7CFBEC
tetradic
#EC7CFB #FBAC7C #8BFB7C #7CCAFB
square
#EC7CFB #FBAC7C #8BFB7C #7CCAFB
split-complementary
#EC7CFB #CAFB7C #7CFBAC
monochromatic
#D907F5 #E341F9 #EC7CFB #F5B7FD #FBE1FE

Accessibility & contrast

On white

2.37
#EC7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EC7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7CFB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7CFB#FFFFFF#000000##000000
##EC7CFB1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#EF8CB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ec7cfb;
/* rgb */ color: rgb(236, 124, 251);
/* oklch */ color: oklch(75.7% 0.206 322.8);
Tailwind
colors: {
  custom: {
    50: '#f4a6fd',
    500: '#ec7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7cfb;
$custom-light: #f4a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7cfb",
  "rgb": {
    "r": 236,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 292.913,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.20631,
    "h": 322.8
  },
  "luminance": 0.39213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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