#ED98FC#ED98FC

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

Color values

HEX#ED98FC
RGBrgb(237, 152, 252)
HSLhsl(291, 94%, 79%)
HSVhsv(291, 40%, 99%)
CMYKcmyk(6%, 39.7%, 0%, 1.2%)
CIE-LABlab(74.50, 47.51, -36.99)
CIE-LCHlch(74.50, 60.21, 322.10°)
OKLaboklab(79.94% 0.1272 -0.1015)
OKLCHoklch(79.94% 0.163 321.4)
XYZxyz(63.7219, 47.4915, 97.8867)
Luminance0.4749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED98FC #A7FC98
analogous
#BB98FC #ED98FC #FC98D9
triadic
#ED98FC #FCED98 #98FCED
tetradic
#ED98FC #FCBB98 #A7FC98 #98D9FC
square
#ED98FC #FCBB98 #A7FC98 #98D9FC
split-complementary
#ED98FC #D9FC98 #98FCBB
monochromatic
#D821F9 #E35DFA #ED98FC #F7D3FE #FAE1FE

Accessibility & contrast

On white

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

On black

10.50
#ED98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED98FC
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED98FC#FFFFFF#000000##000000
##ED98FC1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ed98fc;
/* rgb */ color: rgb(237, 152, 252);
/* oklch */ color: oklch(79.9% 0.163 321.4);
Tailwind
colors: {
  custom: {
    50: '#f4b8fd',
    500: '#ed98fc',
    950: '#000000',
  },
}
SCSS
$custom: #ed98fc;
$custom-light: #f4b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed98fc",
  "rgb": {
    "r": 237,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 291,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79945,
    "c": 0.16273,
    "h": 321.4
  },
  "luminance": 0.47489
}

Semantic roles & 50–950 ramp

primary
#ED98FC
secondary
#DAF6D5
accent
#E60022
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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