#EC7DF0#EC7DF0

#EC7DF0 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.195 H 326.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#EC7DF0
RGBrgb(236, 125, 240)
HSLhsl(298, 79%, 72%)
HSVhsv(298, 48%, 94%)
CMYKcmyk(1.7%, 47.9%, 0%, 5.9%)
CIE-LABlab(68.60, 58.59, -39.63)
CIE-LCHlch(68.60, 70.73, 325.92°)
OKLaboklab(75.35% 0.1614 -0.1089)
OKLCHoklch(75.35% 0.195 326)
XYZxyz(57.6527, 38.7943, 86.8725)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7DF0 #81F07D
analogous
#B37DF0 #EC7DF0 #F07DBB
triadic
#EC7DF0 #F0EC7D #7DF0EC
tetradic
#EC7DF0 #F0B37D #81F07D #7DBBF0
square
#EC7DF0 #F0B37D #81F07D #7DBBF0
split-complementary
#EC7DF0 #BBF07D #7DF0B3
monochromatic
#D319DA #E446EA #EC7DF0 #F4B4F6 #FBE4FC

Accessibility & contrast

On white

2.40
#EC7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#EC7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7DF0
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7DF0#FFFFFF#000000##000000
##EC7DF01.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF4
Deuteranopia (green-blind)
#92ACED
Tritanopia (blue-blind)
#F18AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7df0;
/* rgb */ color: rgb(236, 125, 240);
/* oklch */ color: oklch(75.4% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f5',
    500: '#ec7df0',
    950: '#000000',
  },
}
SCSS
$custom: #ec7df0;
$custom-light: #f4a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7df0",
  "rgb": {
    "r": 236,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 297.913,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75354,
    "c": 0.19469,
    "h": 326
  },
  "luminance": 0.38791
}

Semantic roles & 50–950 ramp

primary
#EC7DF0
secondary
#D7F3D6
accent
#DC0A11
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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