#EC7FDB#EC7FDB

#EC7FDB is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.173 H 333.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EC7FDB
RGBrgb(236, 127, 219)
HSLhsl(309, 74%, 71%)
HSVhsv(309, 46%, 93%)
CMYKcmyk(0%, 46.2%, 7.2%, 7.5%)
CIE-LABlab(68.12, 54.01, -28.79)
CIE-LCHlch(68.12, 61.20, 331.94°)
OKLaboklab(74.71% 0.1547 -0.078)
OKLCHoklch(74.71% 0.173 333.2)
XYZxyz(54.9674, 38.1294, 71.4686)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FDB #7FEC90
analogous
#C67FEC #EC7FDB #EC7FA4
triadic
#EC7FDB #DBEC7F #7FDBEC
tetradic
#EC7FDB #ECC67F #7FEC90 #7FA4EC
square
#EC7FDB #ECC67F #7FEC90 #7FA4EC
split-complementary
#EC7FDB #A4EC7F #7FECC6
monochromatic
#D21FB6 #E44ACC #EC7FDB #F4B4EA #FBE4F8

Accessibility & contrast

On white

2.43
#EC7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EC7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FDB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FDB#FFFFFF#000000##000000
##EC7FDB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#9BACD8
Tritanopia (blue-blind)
#F585A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec7fdb;
/* rgb */ color: rgb(236, 127, 219);
/* oklch */ color: oklch(74.7% 0.173 333.2);
Tailwind
colors: {
  custom: {
    50: '#f4a7e6',
    500: '#ec7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec7fdb;
$custom-light: #f4a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7fdb",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 309.358,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74711,
    "c": 0.17329,
    "h": 333.2
  },
  "luminance": 0.38126
}

Semantic roles & 50–950 ramp

primary
#EC7FDB
secondary
#D5F2DA
accent
#D62E0F
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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