#ED7FE2#ED7FE2

#ED7FE2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.1% C 0.180 H 331.0°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#ED7FE2
RGBrgb(237, 127, 226)
HSLhsl(306, 75%, 71%)
HSVhsv(306, 46%, 93%)
CMYKcmyk(0%, 46.4%, 4.6%, 7.1%)
CIE-LABlab(68.52, 55.47, -32.03)
CIE-LCHlch(68.52, 64.06, 329.99°)
OKLaboklab(75.13% 0.1573 -0.0872)
OKLCHoklch(75.13% 0.18 331)
XYZxyz(56.2414, 38.6775, 76.4399)
Luminance0.3867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7FE2 #7FED8A
analogous
#C17FED #ED7FE2 #ED7FAB
triadic
#ED7FE2 #E2ED7F #7FE2ED
tetradic
#ED7FE2 #EDC17F #7FED8A #7FABED
square
#ED7FE2 #EDC17F #7FED8A #7FABED
split-complementary
#ED7FE2 #ABED7F #7FEDC1
monochromatic
#D41EC2 #E549D6 #ED7FE2 #F5B5EE #FBE4F9

Accessibility & contrast

On white

2.40
#ED7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#ED7FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7FE2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7FE2#FFFFFF#000000##000000
##ED7FE21.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9DE5
Deuteranopia (green-blind)
#99ADDF
Tritanopia (blue-blind)
#F587A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7fe2;
/* rgb */ color: rgb(237, 127, 226);
/* oklch */ color: oklch(75.1% 0.180 331.0);
Tailwind
colors: {
  custom: {
    50: '#f5a7eb',
    500: '#ed7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7fe2;
$custom-light: #f5a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7fe2",
  "rgb": {
    "r": 237,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 306,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.17983,
    "h": 331
  },
  "luminance": 0.38674
}

Semantic roles & 50–950 ramp

primary
#ED7FE2
secondary
#D6F2D8
accent
#D8220E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #ED7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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