#ED7AFE#ED7AFE

#ED7AFE is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.7% C 0.213 H 322.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#ED7AFE
RGBrgb(237, 122, 254)
HSLhsl(292, 99%, 74%)
HSVhsv(292, 52%, 100%)
CMYKcmyk(6.7%, 52%, 0%, 0.4%)
CIE-LABlab(68.81, 62.81, -46.97)
CIE-LCHlch(68.81, 78.43, 323.21°)
OKLaboklab(75.74% 0.1683 -0.13)
OKLCHoklch(75.74% 0.213 322.3)
XYZxyz(59.7721, 39.0821, 98.1419)
Luminance0.3908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AFE #8BFE7A
analogous
#AB7AFE #ED7AFE #FE7ACD
triadic
#ED7AFE #FEED7A #7AFEED
tetradic
#ED7AFE #FEAB7A #8BFE7A #7ACDFE
square
#ED7AFE #FEAB7A #8BFE7A #7ACDFE
split-complementary
#ED7AFE #CDFE7A #7AFEAB
monochromatic
#DC02FC #E53DFE #ED7AFE #F5B7FE #FBE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ED7AFE#FFFFFF#000000##000000
##ED7AFE1.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)
#659FFF
Deuteranopia (green-blind)
#8AACFA
Tritanopia (blue-blind)
#F08CB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7afe;
/* rgb */ color: rgb(237, 122, 254);
/* oklch */ color: oklch(75.7% 0.213 322.3);
Tailwind
colors: {
  custom: {
    50: '#f5a5ff',
    500: '#ed7afe',
    950: '#000000',
  },
}
SCSS
$custom: #ed7afe;
$custom-light: #f5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7afe",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 292.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.21265,
    "h": 322.3
  },
  "luminance": 0.39079
}

Semantic roles & 50–950 ramp

primary
#ED7AFE
secondary
#D8F7D4
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #ED7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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