#ED98FA#ED98FA

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

Color values

HEX#ED98FA
RGBrgb(237, 152, 250)
HSLhsl(292, 91%, 79%)
HSVhsv(292, 39%, 98%)
CMYKcmyk(5.2%, 39.2%, 0%, 2%)
CIE-LABlab(74.42, 47.13, -36.03)
CIE-LCHlch(74.42, 59.33, 322.61°)
OKLaboklab(79.86% 0.1268 -0.0987)
OKLCHoklch(79.86% 0.161 322.1)
XYZxyz(63.4067, 47.3654, 96.2264)
Luminance0.4736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED98FA #A5FA98
analogous
#BC98FA #ED98FA #FA98D6
triadic
#ED98FA #FAED98 #98FAED
tetradic
#ED98FA #FABC98 #A5FA98 #98D6FA
square
#ED98FA #FABC98 #A5FA98 #98D6FA
split-complementary
#ED98FA #D6FA98 #98FABC
monochromatic
#D923F4 #E35EF7 #ED98FA #F7D2FD #FAE2FE

Accessibility & contrast

On white

2.01
#ED98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#ED98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED98FA
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED98FA#FFFFFF#000000##000000
##ED98FA1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#F0A3BD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ed98fa;
/* rgb */ color: rgb(237, 152, 250);
/* oklch */ color: oklch(79.9% 0.161 322.1);
Tailwind
colors: {
  custom: {
    50: '#f4b8fc',
    500: '#ed98fa',
    950: '#000000',
  },
}
SCSS
$custom: #ed98fa;
$custom-light: #f4b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ed98fa",
  "rgb": {
    "r": 237,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 292.041,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79858,
    "c": 0.16071,
    "h": 322.1
  },
  "luminance": 0.47363
}

Semantic roles & 50–950 ramp

primary
#ED98FA
secondary
#DAF6D5
accent
#E6001E
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #ED98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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