#EC98EE#EC98EE

#EC98EE is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.2% C 0.148 H 326.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#EC98EE
RGBrgb(236, 152, 238)
HSLhsl(299, 72%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.8%, 36.1%, 0%, 6.7%)
CIE-LABlab(73.85, 44.61, -30.41)
CIE-LCHlch(73.85, 53.99, 325.72°)
OKLaboklab(79.25% 0.123 -0.0828)
OKLCHoklch(79.25% 0.148 326.1)
XYZxyz(61.2516, 46.4649, 86.6145)
Luminance0.4646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98EE #9AEE98
analogous
#C198EE #EC98EE #EE98C5
triadic
#EC98EE #EEEC98 #98EEEC
tetradic
#EC98EE #EEC198 #9AEE98 #98C5EE
square
#EC98EE #EEC198 #9AEE98 #98C5EE
split-complementary
#EC98EE #C5EE98 #98EEC1
monochromatic
#D92FDD #E263E5 #EC98EE #F6CDF7 #FAE5FB

Accessibility & contrast

On white

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

On black

10.29
#EC98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98EE
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98EE#FFFFFF#000000##000000
##EC98EE1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec98ee;
/* rgb */ color: rgb(236, 152, 238);
/* oklch */ color: oklch(79.2% 0.148 326.1);
Tailwind
colors: {
  custom: {
    50: '#f3b8f3',
    500: '#ec98ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec98ee;
$custom-light: #f3b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98ee",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 298.605,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79246,
    "c": 0.14829,
    "h": 326.1
  },
  "luminance": 0.46462
}

Semantic roles & 50–950 ramp

primary
#EC98EE
secondary
#D9F2D9
accent
#D41216
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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