#EC84FC#EC84FC

#EC84FC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.9% C 0.195 H 322.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#EC84FC
RGBrgb(236, 132, 252)
HSLhsl(292, 95%, 75%)
HSVhsv(292, 48%, 99%)
CMYKcmyk(6.3%, 47.6%, 0%, 1.2%)
CIE-LABlab(70.43, 57.35, -43.34)
CIE-LCHlch(70.43, 71.88, 322.92°)
OKLaboklab(76.88% 0.1538 -0.1196)
OKLCHoklch(76.88% 0.195 322.1)
XYZxyz(60.4121, 41.3662, 96.8789)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC84FC #94FC84
analogous
#B084FC #EC84FC #FC84D0
triadic
#EC84FC #FCEC84 #84FCEC
tetradic
#EC84FC #FCB084 #94FC84 #84D0FC
square
#EC84FC #FCB084 #94FC84 #84D0FC
split-complementary
#EC84FC #D0FC84 #84FCB0
monochromatic
#DA0DF9 #E348FB #EC84FC #F5C0FD #FAE1FE

Accessibility & contrast

On white

2.26
#EC84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#EC84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC84FC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC84FC#FFFFFF#000000##000000
##EC84FC1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#EF93B5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec84fc;
/* rgb */ color: rgb(236, 132, 252);
/* oklch */ color: oklch(76.9% 0.195 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4abfe',
    500: '#ec84fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec84fc;
$custom-light: #f4abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec84fc",
  "rgb": {
    "r": 236,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 292,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76881,
    "c": 0.19478,
    "h": 322.1
  },
  "luminance": 0.41364
}

Semantic roles & 50–950 ramp

primary
#EC84FC
secondary
#D9F6D5
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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