#ED7EF2#ED7EF2

#ED7EF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.7% C 0.196 H 325.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#ED7EF2
RGBrgb(237, 126, 242)
HSLhsl(297, 82%, 72%)
HSVhsv(297, 48%, 95%)
CMYKcmyk(2.1%, 47.9%, 0%, 5.1%)
CIE-LABlab(69.00, 58.73, -40.10)
CIE-LCHlch(69.00, 71.12, 325.67°)
OKLaboklab(75.7% 0.1615 -0.1102)
OKLCHoklch(75.7% 0.196 325.7)
XYZxyz(58.4116, 39.3400, 88.5038)
Luminance0.3934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7EF2 #83F27E
analogous
#B37EF2 #ED7EF2 #F27EBD
triadic
#ED7EF2 #F2ED7E #7EF2ED
tetradic
#ED7EF2 #F2B37E #83F27E #7EBDF2
square
#ED7EF2 #F2B37E #83F27E #7EBDF2
split-complementary
#ED7EF2 #BDF27E #7EF2B3
monochromatic
#D616DF #E546EC #ED7EF2 #F5B6F8 #FBE3FC

Accessibility & contrast

On white

2.37
#ED7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#ED7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7EF2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7EF2#FFFFFF#000000##000000
##ED7EF21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#F28BAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7ef2;
/* rgb */ color: rgb(237, 126, 242);
/* oklch */ color: oklch(75.7% 0.196 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5a7f6',
    500: '#ed7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7ef2;
$custom-light: #f5a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7ef2",
  "rgb": {
    "r": 237,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 297.414,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75701,
    "c": 0.1955,
    "h": 325.7
  },
  "luminance": 0.39337
}

Semantic roles & 50–950 ramp

primary
#ED7EF2
secondary
#D8F4D7
accent
#DE0711
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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