#ED7DF2#ED7DF2

#ED7DF2 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.6% C 0.197 H 325.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#ED7DF2
RGBrgb(237, 125, 242)
HSLhsl(297, 82%, 72%)
HSVhsv(297, 48%, 95%)
CMYKcmyk(2.1%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.81, 59.22, -40.39)
CIE-LCHlch(68.81, 71.68, 325.70°)
OKLaboklab(75.57% 0.1628 -0.111)
OKLCHoklch(75.57% 0.197 325.7)
XYZxyz(58.2844, 39.0855, 88.4614)
Luminance0.3908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7DF2 #82F27D
analogous
#B37DF2 #ED7DF2 #F27DBD
triadic
#ED7DF2 #F2ED7D #7DF2ED
tetradic
#ED7DF2 #F2B37D #82F27D #7DBDF2
square
#ED7DF2 #F2B37D #82F27D #7DBDF2
split-complementary
#ED7DF2 #BDF27D #7DF2B3
monochromatic
#D616DE #E545EC #ED7DF2 #F5B5F8 #FBE3FC

Accessibility & contrast

On white

2.38
#ED7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#ED7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7DF2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7DF2#FFFFFF#000000##000000
##ED7DF21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#91ADEF
Tritanopia (blue-blind)
#F28AAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7df2;
/* rgb */ color: rgb(237, 125, 242);
/* oklch */ color: oklch(75.6% 0.197 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5a6f6',
    500: '#ed7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7df2;
$custom-light: #f5a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7df2",
  "rgb": {
    "r": 237,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 297.436,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75565,
    "c": 0.19707,
    "h": 325.7
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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