#EC84DB#EC84DB

#EC84DB is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.4% C 0.165 H 333.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EC84DB
RGBrgb(236, 132, 219)
HSLhsl(310, 73%, 72%)
HSVhsv(310, 44%, 93%)
CMYKcmyk(0%, 44.1%, 7.2%, 7.5%)
CIE-LABlab(69.08, 51.52, -27.30)
CIE-LCHlch(69.08, 58.31, 332.08°)
OKLaboklab(75.43% 0.1476 -0.0739)
OKLCHoklch(75.43% 0.165 333.4)
XYZxyz(55.6293, 39.4531, 71.6892)
Luminance0.3945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC84DB #84EC95
analogous
#C984EC #EC84DB #EC84A7
triadic
#EC84DB #DBEC84 #84DBEC
tetradic
#EC84DB #ECC984 #84EC95 #84A7EC
square
#EC84DB #ECC984 #84EC95 #84A7EC
split-complementary
#EC84DB #A7EC84 #84ECC9
monochromatic
#D521B7 #E44FCB #EC84DB #F4B9EB #FBE4F7

Accessibility & contrast

On white

2.36
#EC84DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EC84DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC84DB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC84DB#FFFFFF#000000##000000
##EC84DB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#839FDE
Deuteranopia (green-blind)
#9FAED8
Tritanopia (blue-blind)
#F48AA5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec84db;
/* rgb */ color: rgb(236, 132, 219);
/* oklch */ color: oklch(75.4% 0.165 333.4);
Tailwind
colors: {
  custom: {
    50: '#f4aae6',
    500: '#ec84db',
    950: '#000000',
  },
}
SCSS
$custom: #ec84db;
$custom-light: #f4aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec84db",
  "rgb": {
    "r": 236,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 309.808,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75429,
    "c": 0.16505,
    "h": 333.4
  },
  "luminance": 0.3945
}

Semantic roles & 50–950 ramp

primary
#EC84DB
secondary
#D8F3DD
accent
#D53010
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EC84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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