#ED97F2#ED97F2

#ED97F2 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.154 H 325.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#ED97F2
RGBrgb(237, 151, 242)
HSLhsl(297, 78%, 77%)
HSVhsv(297, 38%, 95%)
CMYKcmyk(2.1%, 37.6%, 0%, 5.1%)
CIE-LABlab(73.90, 46.16, -32.49)
CIE-LCHlch(73.90, 56.45, 324.86°)
OKLaboklab(79.36% 0.1265 -0.0887)
OKLCHoklch(79.36% 0.154 325)
XYZxyz(62.0172, 46.5510, 89.7057)
Luminance0.4655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97F2 #9CF297
analogous
#C097F2 #ED97F2 #F297CA
triadic
#ED97F2 #F2ED97 #97F2ED
tetradic
#ED97F2 #F2C097 #9CF297 #97CAF2
square
#ED97F2 #F2C097 #9CF297 #97CAF2
split-complementary
#ED97F2 #CAF297 #97F2C0
monochromatic
#DA2AE4 #E461EB #ED97F2 #F6CDF9 #FAE4FC

Accessibility & contrast

On white

2.04
#ED97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#ED97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97F2
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97F2#FFFFFF#000000##000000
##ED97F21.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#A5B9EF
Tritanopia (blue-blind)
#F1A0B9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ed97f2;
/* rgb */ color: rgb(237, 151, 242);
/* oklch */ color: oklch(79.4% 0.154 325.0);
Tailwind
colors: {
  custom: {
    50: '#f4b7f6',
    500: '#ed97f2',
    950: '#000000',
  },
}
SCSS
$custom: #ed97f2;
$custom-light: #f4b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97f2",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 296.703,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79363,
    "c": 0.15449,
    "h": 325
  },
  "luminance": 0.46549
}

Semantic roles & 50–950 ramp

primary
#ED97F2
secondary
#D9F3D8
accent
#DA0B17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #ED97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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