#ED7FEF#ED7FEF

#ED7FEF is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.7% C 0.191 H 326.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#ED7FEF
RGBrgb(237, 127, 239)
HSLhsl(299, 78%, 72%)
HSVhsv(299, 47%, 94%)
CMYKcmyk(0.8%, 46.9%, 0%, 6.3%)
CIE-LABlab(69.05, 57.72, -38.37)
CIE-LCHlch(69.05, 69.31, 326.38°)
OKLaboklab(75.7% 0.1596 -0.1052)
OKLCHoklch(75.7% 0.191 326.6)
XYZxyz(58.0933, 39.4183, 86.1931)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7FEF #81EF7F
analogous
#B57FEF #ED7FEF #EF7FB9
triadic
#ED7FEF #EFED7F #7FEFED
tetradic
#ED7FEF #EFB57F #81EF7F #7FB9EF
square
#ED7FEF #EFB57F #81EF7F #7FB9EF
split-complementary
#ED7FEF #B9EF7F #7FEFB5
monochromatic
#D51BD9 #E549E8 #ED7FEF #F5B5F6 #FBE4FC

Accessibility & contrast

On white

2.36
#ED7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#ED7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7FEF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7FEF#FFFFFF#000000##000000
##ED7FEF1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#F38BAC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7fef;
/* rgb */ color: rgb(237, 127, 239);
/* oklch */ color: oklch(75.7% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#f5a8f4',
    500: '#ed7fef',
    950: '#000000',
  },
}
SCSS
$custom: #ed7fef;
$custom-light: #f5a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7fef",
  "rgb": {
    "r": 237,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 298.929,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.757,
    "c": 0.19121,
    "h": 326.6
  },
  "luminance": 0.39415
}

Semantic roles & 50–950 ramp

primary
#ED7FEF
secondary
#D7F3D7
accent
#DA0B0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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