#EC98ED#EC98ED

#EC98ED is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.2% C 0.147 H 326.5°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#EC98ED
RGBrgb(236, 152, 237)
HSLhsl(299, 70%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.4%, 35.9%, 0%, 7.1%)
CIE-LABlab(73.81, 44.43, -29.92)
CIE-LCHlch(73.81, 53.56, 326.04°)
OKLaboklab(79.21% 0.1228 -0.0814)
OKLCHoklch(79.21% 0.147 326.5)
XYZxyz(61.1051, 46.4063, 85.8429)
Luminance0.4640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98ED #99ED98
analogous
#C298ED #EC98ED #ED98C4
triadic
#EC98ED #EDEC98 #98EDEC
tetradic
#EC98ED #EDC298 #99ED98 #98C4ED
square
#EC98ED #EDC298 #99ED98 #98C4ED
split-complementary
#EC98ED #C4ED98 #98EDC2
monochromatic
#D930DB #E264E4 #EC98ED #F6CCF6 #FAE5FA

Accessibility & contrast

On white

2.04
#EC98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#EC98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98ED
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98ED#FFFFFF#000000##000000
##EC98ED1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF0
Deuteranopia (green-blind)
#A7B9EA
Tritanopia (blue-blind)
#F1A0B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec98ed;
/* rgb */ color: rgb(236, 152, 237);
/* oklch */ color: oklch(79.2% 0.147 326.5);
Tailwind
colors: {
  custom: {
    50: '#f3b8f3',
    500: '#ec98ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ed;
$custom-light: #f3b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ed",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 299.294,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79205,
    "c": 0.14733,
    "h": 326.5
  },
  "luminance": 0.46404
}

Semantic roles & 50–950 ramp

primary
#EC98ED
secondary
#D9F2D9
accent
#D21315
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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