#EC98EB#EC98EB

#EC98EB is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.1% C 0.145 H 327.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#EC98EB
RGBrgb(236, 152, 235)
HSLhsl(301, 69%, 76%)
HSVhsv(301, 36%, 93%)
CMYKcmyk(0%, 35.6%, 0.4%, 7.5%)
CIE-LABlab(73.73, 44.07, -28.94)
CIE-LCHlch(73.73, 52.72, 326.70°)
OKLaboklab(79.12% 0.1223 -0.0787)
OKLCHoklch(79.12% 0.145 327.3)
XYZxyz(60.8145, 46.2900, 84.3126)
Luminance0.4629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98EB #98EC99
analogous
#C398EC #EC98EB #EC98C1
triadic
#EC98EB #EBEC98 #98EBEC
tetradic
#EC98EB #ECC398 #98EC99 #98C1EC
square
#EC98EB #ECC398 #98EC99 #98C1EC
split-complementary
#EC98EB #C1EC98 #98ECC3
monochromatic
#D931D7 #E264E1 #EC98EB #F6CCF5 #FAE5FA

Accessibility & contrast

On white

2.05
#EC98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#EC98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98EB
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98EB#FFFFFF#000000##000000
##EC98EB1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#A7B9E8
Tritanopia (blue-blind)
#F1A0B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ec98eb;
/* rgb */ color: rgb(236, 152, 235);
/* oklch */ color: oklch(79.1% 0.145 327.3);
Tailwind
colors: {
  custom: {
    50: '#f3b8f1',
    500: '#ec98eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec98eb;
$custom-light: #f3b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98eb",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 300.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79124,
    "c": 0.14543,
    "h": 327.3
  },
  "luminance": 0.46287
}

Semantic roles & 50–950 ramp

primary
#EC98EB
secondary
#D9F2DA
accent
#D11715
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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