#ED98DF#ED98DF

#ED98DF is a light, vivid purple. Relative luminance 0.458; OKLCH L 78.8% C 0.135 H 332.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#ED98DF
RGBrgb(237, 152, 223)
HSLhsl(310, 70%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 35.9%, 5.9%, 7.1%)
CIE-LABlab(73.41, 42.27, -22.87)
CIE-LCHlch(73.41, 48.06, 331.58°)
OKLaboklab(78.76% 0.1204 -0.0616)
OKLCHoklch(78.76% 0.135 332.9)
XYZxyz(59.4720, 45.7915, 75.5038)
Luminance0.4579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED98DF #98EDA6
analogous
#D198ED #ED98DF #ED98B5
triadic
#ED98DF #DFED98 #98DFED
tetradic
#ED98DF #EDD198 #98EDA6 #98B5ED
square
#ED98DF #EDD198 #98EDA6 #98B5ED
split-complementary
#ED98DF #B5ED98 #98EDD1
monochromatic
#DB30BF #E464CF #ED98DF #F6CCEF #FAE5F7

Accessibility & contrast

On white

2.07
#ED98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#ED98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED98DF
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED98DF#FFFFFF#000000##000000
##ED98DF1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ADE2
Deuteranopia (green-blind)
#ACB9DC
Tritanopia (blue-blind)
#F49CB2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ed98df;
/* rgb */ color: rgb(237, 152, 223);
/* oklch */ color: oklch(78.8% 0.135 332.9);
Tailwind
colors: {
  custom: {
    50: '#f4b8e9',
    500: '#ed98df',
    950: '#000000',
  },
}
SCSS
$custom: #ed98df;
$custom-light: #f4b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ed98df",
  "rgb": {
    "r": 237,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 309.882,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78761,
    "c": 0.13522,
    "h": 332.9
  },
  "luminance": 0.45789
}

Semantic roles & 50–950 ramp

primary
#ED98DF
secondary
#D9F2DD
accent
#D23313
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #ED98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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