#ED97EC#ED97EC

#ED97EC is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.1% C 0.149 H 327.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#ED97EC
RGBrgb(237, 151, 236)
HSLhsl(301, 70%, 76%)
HSVhsv(301, 36%, 93%)
CMYKcmyk(0%, 36.3%, 0.4%, 7.1%)
CIE-LABlab(73.67, 45.07, -29.57)
CIE-LCHlch(73.67, 53.91, 326.73°)
OKLaboklab(79.12% 0.1251 -0.0804)
OKLCHoklch(79.12% 0.149 327.3)
XYZxyz(61.1308, 46.1965, 85.0374)
Luminance0.4619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED97EC #97ED98
analogous
#C397ED #ED97EC #ED97C1
triadic
#ED97EC #ECED97 #97ECED
tetradic
#ED97EC #EDC397 #97ED98 #97C1ED
square
#ED97EC #EDC397 #97ED98 #97C1ED
split-complementary
#ED97EC #C1ED97 #97EDC3
monochromatic
#DB2FD9 #E463E2 #ED97EC #F6CBF6 #FAE5FA

Accessibility & contrast

On white

2.05
#ED97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#ED97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED97EC
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED97EC#FFFFFF#000000##000000
##ED97EC1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#F29FB7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ed97ec;
/* rgb */ color: rgb(237, 151, 236);
/* oklch */ color: oklch(79.1% 0.149 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4b7f2',
    500: '#ed97ec',
    950: '#000000',
  },
}
SCSS
$custom: #ed97ec;
$custom-light: #f4b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ed97ec",
  "rgb": {
    "r": 237,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 300.698,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79115,
    "c": 0.14874,
    "h": 327.3
  },
  "luminance": 0.46194
}

Semantic roles & 50–950 ramp

primary
#ED97EC
secondary
#D9F2D9
accent
#D31513
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #ED97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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