#ED7EF8#ED7EF8

#ED7EF8 is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.0% C 0.201 H 323.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#ED7EF8
RGBrgb(237, 126, 248)
HSLhsl(295, 90%, 73%)
HSVhsv(295, 49%, 97%)
CMYKcmyk(4.4%, 49.2%, 0%, 2.7%)
CIE-LABlab(69.26, 59.81, -42.98)
CIE-LCHlch(69.26, 73.65, 324.30°)
OKLaboklab(75.98% 0.1623 -0.1185)
OKLCHoklch(75.98% 0.201 323.9)
XYZxyz(59.3276, 39.7064, 93.3278)
Luminance0.3970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7EF8 #89F87E
analogous
#B07EF8 #ED7EF8 #F87EC6
triadic
#ED7EF8 #F8ED7E #7EF8ED
tetradic
#ED7EF8 #F8B07E #89F87E #7EC6F8
square
#ED7EF8 #F8B07E #89F87E #7EC6F8
split-complementary
#ED7EF8 #C6F87E #7EF8B0
monochromatic
#DA0DEF #E544F5 #ED7EF8 #F5B8FB #FBE2FD

Accessibility & contrast

On white

2.35
#ED7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#ED7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7EF8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7EF8#FFFFFF#000000##000000
##ED7EF81.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#8FAEF4
Tritanopia (blue-blind)
#F18DB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ed7ef8;
/* rgb */ color: rgb(237, 126, 248);
/* oklch */ color: oklch(76.0% 0.201 323.9);
Tailwind
colors: {
  custom: {
    50: '#f5a7fb',
    500: '#ed7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ed7ef8;
$custom-light: #f5a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7ef8",
  "rgb": {
    "r": 237,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 294.59,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.20098,
    "h": 323.9
  },
  "luminance": 0.39704
}

Semantic roles & 50–950 ramp

primary
#ED7EF8
secondary
#D8F6D5
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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