#ED7AFF#ED7AFF

#ED7AFF is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.8% C 0.214 H 322.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#ED7AFF
RGBrgb(237, 122, 255)
HSLhsl(292, 100%, 74%)
HSVhsv(292, 52%, 100%)
CMYKcmyk(7.1%, 52.2%, 0%, 0%)
CIE-LABlab(68.86, 62.99, -47.44)
CIE-LCHlch(68.86, 78.86, 323.02°)
OKLaboklab(75.79% 0.1684 -0.1313)
OKLCHoklch(75.79% 0.214 322.1)
XYZxyz(59.9326, 39.1463, 98.9874)
Luminance0.3914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AFF #8CFF7A
analogous
#AB7AFF #ED7AFF #FF7ACF
triadic
#ED7AFF #FFED7A #7AFFED
tetradic
#ED7AFF #FFAB7A #8CFF7A #7ACFFF
square
#ED7AFF #FFAB7A #8CFF7A #7ACFFF
split-complementary
#ED7AFF #CFFF7A #7AFFAB
monochromatic
#DC00FF #E53DFF #ED7AFF #F5B7FF #FBE0FF

Accessibility & contrast

On white

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

On black

8.83
#ED7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7AFF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7AFF#FFFFFF#000000##000000
##ED7AFF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#89ADFB
Tritanopia (blue-blind)
#F08CB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7aff;
/* rgb */ color: rgb(237, 122, 255);
/* oklch */ color: oklch(75.8% 0.214 322.1);
Tailwind
colors: {
  custom: {
    50: '#f5a5ff',
    500: '#ed7aff',
    950: '#000000',
  },
}
SCSS
$custom: #ed7aff;
$custom-light: #f5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7aff",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 291.88,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75788,
    "c": 0.21358,
    "h": 322.1
  },
  "luminance": 0.39144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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