#ED98FF#ED98FF

#ED98FF is a light, vivid purple. Relative luminance 0.477; OKLCH L 80.1% C 0.166 H 320.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#ED98FF
RGBrgb(237, 152, 255)
HSLhsl(290, 100%, 80%)
HSVhsv(290, 40%, 100%)
CMYKcmyk(7.1%, 40.4%, 0%, 0%)
CIE-LABlab(74.62, 48.08, -38.42)
CIE-LCHlch(74.62, 61.55, 321.37°)
OKLaboklab(80.08% 0.1278 -0.1056)
OKLCHoklch(80.08% 0.166 320.4)
XYZxyz(64.2011, 47.6832, 100.4102)
Luminance0.4768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED98FF #AAFF98
analogous
#BA98FF #ED98FF #FF98DD
triadic
#ED98FF #FFED98 #98FFED
tetradic
#ED98FF #FFBA98 #AAFF98 #98DDFF
square
#ED98FF #FFBA98 #AAFF98 #98DDFF
split-complementary
#ED98FF #DDFF98 #98FFBA
monochromatic
#D81EFF #E25BFF #ED98FF #F8D5FF #FAE0FF

Accessibility & contrast

On white

1.99
#ED98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#ED98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED98FF
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED98FF#FFFFFF#000000##000000
##ED98FF1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB2FF
Deuteranopia (green-blind)
#A0BBFC
Tritanopia (blue-blind)
#EFA4C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ed98ff;
/* rgb */ color: rgb(237, 152, 255);
/* oklch */ color: oklch(80.1% 0.166 320.4);
Tailwind
colors: {
  custom: {
    50: '#f4b8ff',
    500: '#ed98ff',
    950: '#000000',
  },
}
SCSS
$custom: #ed98ff;
$custom-light: #f4b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed98ff",
  "rgb": {
    "r": 237,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 289.515,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.80076,
    "c": 0.16578,
    "h": 320.4
  },
  "luminance": 0.47681
}

Semantic roles & 50–950 ramp

primary
#ED98FF
secondary
#DAF7D4
accent
#E60028
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #ED98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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