#EC7FFB#EC7FFB

#EC7FFB is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.1% C 0.202 H 322.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#EC7FFB
RGBrgb(236, 127, 251)
HSLhsl(293, 94%, 74%)
HSVhsv(293, 49%, 98%)
CMYKcmyk(6%, 49.4%, 0%, 1.6%)
CIE-LABlab(69.45, 59.60, -44.33)
CIE-LCHlch(69.45, 74.28, 323.36°)
OKLaboklab(76.14% 0.1603 -0.1224)
OKLCHoklch(76.14% 0.202 322.6)
XYZxyz(59.5922, 39.9793, 95.8259)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FFB #8EFB7F
analogous
#AE7FFB #EC7FFB #FB7FCC
triadic
#EC7FFB #FBEC7F #7FFBEC
tetradic
#EC7FFB #FBAE7F #8EFB7F #7FCCFB
square
#EC7FFB #FBAE7F #8EFB7F #7FCCFB
split-complementary
#EC7FFB #CCFB7F #7FFBAE
monochromatic
#DA08F7 #E344F9 #EC7FFB #F5BAFD #FBE1FE

Accessibility & contrast

On white

2.33
#EC7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#EC7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FFB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FFB#FFFFFF#000000##000000
##EC7FFB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#EF8FB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ec7ffb;
/* rgb */ color: rgb(236, 127, 251);
/* oklch */ color: oklch(76.1% 0.202 322.6);
Tailwind
colors: {
  custom: {
    50: '#f4a8fd',
    500: '#ec7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ffb;
$custom-light: #f4a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ffb",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 292.742,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.20168,
    "h": 322.6
  },
  "luminance": 0.39977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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