#EC98FD#EC98FD

#EC98FD is a light, vivid purple. Relative luminance 0.474; OKLCH L 79.9% C 0.163 H 320.7°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#EC98FD
RGBrgb(236, 152, 253)
HSLhsl(290, 96%, 79%)
HSVhsv(290, 40%, 99%)
CMYKcmyk(6.7%, 39.9%, 0%, 0.8%)
CIE-LABlab(74.43, 47.41, -37.64)
CIE-LCHlch(74.43, 60.54, 321.55°)
OKLaboklab(79.88% 0.1263 -0.1034)
OKLCHoklch(79.88% 0.163 320.7)
XYZxyz(63.5478, 47.3833, 98.7079)
Luminance0.4738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC98FD #A9FD98
analogous
#BA98FD #EC98FD #FD98DC
triadic
#EC98FD #FDEC98 #98FDEC
tetradic
#EC98FD #FDBA98 #A9FD98 #98DCFD
square
#EC98FD #FDBA98 #A9FD98 #98DCFD
split-complementary
#EC98FD #DCFD98 #98FDBA
monochromatic
#D620FB #E15CFC #EC98FD #F7D4FE #F9E1FE

Accessibility & contrast

On white

2.00
#EC98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#EC98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC98FD
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC98FD#FFFFFF#000000##000000
##EC98FD1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#A1BAFA
Tritanopia (blue-blind)
#EEA4BF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ec98fd;
/* rgb */ color: rgb(236, 152, 253);
/* oklch */ color: oklch(79.9% 0.163 320.7);
Tailwind
colors: {
  custom: {
    50: '#f3b8fe',
    500: '#ec98fd',
    950: '#000000',
  },
}
SCSS
$custom: #ec98fd;
$custom-light: #f3b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec98fd",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 289.901,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79882,
    "c": 0.1632,
    "h": 320.7
  },
  "luminance": 0.47381
}

Semantic roles & 50–950 ramp

primary
#EC98FD
secondary
#DAF7D4
accent
#E60027
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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