#ED7AFB#ED7AFB

#ED7AFB is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.6% C 0.210 H 323.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#ED7AFB
RGBrgb(237, 122, 251)
HSLhsl(293, 94%, 73%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(5.6%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.67, 62.26, -45.55)
CIE-LCHlch(68.67, 77.14, 323.81°)
OKLaboklab(75.59% 0.168 -0.1258)
OKLCHoklch(75.59% 0.21 323.2)
XYZxyz(59.2955, 38.8915, 95.6316)
Luminance0.3889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AFB #88FB7A
analogous
#AC7AFB #ED7AFB #FB7AC9
triadic
#ED7AFB #FBED7A #7AFBED
tetradic
#ED7AFB #FBAC7A #88FB7A #7AC9FB
square
#ED7AFB #FBAC7A #88FB7A #7AC9FB
split-complementary
#ED7AFB #C9FB7A #7AFBAC
monochromatic
#DA07F3 #E53FF9 #ED7AFB #F5B5FD #FBE1FE

Accessibility & contrast

On white

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

On black

8.78
#ED7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7AFB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7AFB#FFFFFF#000000##000000
##ED7AFB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#F18BB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7afb;
/* rgb */ color: rgb(237, 122, 251);
/* oklch */ color: oklch(75.6% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#f5a5fd',
    500: '#ed7afb',
    950: '#000000',
  },
}
SCSS
$custom: #ed7afb;
$custom-light: #f5a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7afb",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 293.488,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75592,
    "c": 0.20989,
    "h": 323.2
  },
  "luminance": 0.38889
}

Semantic roles & 50–950 ramp

primary
#ED7AFB
secondary
#D8F6D5
accent
#E60019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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