#ED7AFC#ED7AFC

#ED7AFC is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.211 H 322.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#ED7AFC
RGBrgb(237, 122, 252)
HSLhsl(293, 96%, 73%)
HSVhsv(293, 52%, 99%)
CMYKcmyk(6%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.72, 62.45, -46.02)
CIE-LCHlch(68.72, 77.57, 323.61°)
OKLaboklab(75.64% 0.1681 -0.1272)
OKLCHoklch(75.64% 0.211 322.9)
XYZxyz(59.4535, 38.9547, 96.4639)
Luminance0.3895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AFC #89FC7A
analogous
#AC7AFC #ED7AFC #FC7ACA
triadic
#ED7AFC #FCED7A #7AFCED
tetradic
#ED7AFC #FCAC7A #89FC7A #7ACAFC
square
#ED7AFC #FCAC7A #89FC7A #7ACAFC
split-complementary
#ED7AFC #CAFC7A #7AFCAC
monochromatic
#DA06F6 #E53EFB #ED7AFC #F5B6FD #FBE1FE

Accessibility & contrast

On white

2.39
#ED7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#ED7AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7AFC
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7AFC#FFFFFF#000000##000000
##ED7AFC1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#F08BB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7afc;
/* rgb */ color: rgb(237, 122, 252);
/* oklch */ color: oklch(75.6% 0.211 322.9);
Tailwind
colors: {
  custom: {
    50: '#f5a5fe',
    500: '#ed7afc',
    950: '#000000',
  },
}
SCSS
$custom: #ed7afc;
$custom-light: #f5a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7afc",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 293.077,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75641,
    "c": 0.21081,
    "h": 322.9
  },
  "luminance": 0.38952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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