#ED7AF7#ED7AF7

#ED7AF7 is a light, highly saturated purple. Relative luminance 0.386; OKLCH L 75.4% C 0.206 H 324.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#ED7AF7
RGBrgb(237, 122, 247)
HSLhsl(295, 89%, 72%)
HSVhsv(295, 51%, 97%)
CMYKcmyk(4%, 50.6%, 0%, 3.1%)
CIE-LABlab(68.49, 61.54, -43.64)
CIE-LCHlch(68.49, 75.45, 324.66°)
OKLaboklab(75.4% 0.1675 -0.1203)
OKLCHoklch(75.4% 0.206 324.3)
XYZxyz(58.6716, 38.6419, 92.3458)
Luminance0.3864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AF7 #84F77A
analogous
#AF7AF7 #ED7AF7 #F77AC3
triadic
#ED7AF7 #F7ED7A #7AF7ED
tetradic
#ED7AF7 #F7AF7A #84F77A #7AC3F7
square
#ED7AF7 #F7AF7A #84F77A #7AC3F7
split-complementary
#ED7AF7 #C3F77A #7AF7AF
monochromatic
#D70EE9 #E540F4 #ED7AF7 #F5B4FA #FBE2FD

Accessibility & contrast

On white

2.41
#ED7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ED7AF7#FFFFFF#000000##000000
##ED7AF71.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#8DACF3
Tritanopia (blue-blind)
#F189AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7af7;
/* rgb */ color: rgb(237, 122, 247);
/* oklch */ color: oklch(75.4% 0.206 324.3);
Tailwind
colors: {
  custom: {
    50: '#f5a5fa',
    500: '#ed7af7',
    950: '#000000',
  },
}
SCSS
$custom: #ed7af7;
$custom-light: #f5a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7af7",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 295.2,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75399,
    "c": 0.20625,
    "h": 324.3
  },
  "luminance": 0.38639
}

Semantic roles & 50–950 ramp

primary
#ED7AF7
secondary
#D8F5D6
accent
#E50013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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