#ED7AEB#ED7AEB

#ED7AEB is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.196 H 328.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#ED7AEB
RGBrgb(237, 122, 235)
HSLhsl(301, 76%, 70%)
HSVhsv(301, 49%, 93%)
CMYKcmyk(0%, 48.5%, 0.8%, 7.1%)
CIE-LABlab(67.97, 59.43, -37.86)
CIE-LCHlch(67.97, 70.47, 327.50°)
OKLaboklab(74.84% 0.1658 -0.1038)
OKLCHoklch(74.84% 0.196 328)
XYZxyz(56.8791, 37.9249, 82.9054)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7AEB #7AED7C
analogous
#B57AED #ED7AEB #ED7AB2
triadic
#ED7AEB #EBED7A #7AEBED
tetradic
#ED7AEB #EDB57A #7AED7C #7AB2ED
square
#ED7AEB #EDB57A #7AED7C #7AB2ED
split-complementary
#ED7AEB #B2ED7A #7AEDB5
monochromatic
#D01CCD #E644E3 #ED7AEB #F4B0F3 #FBE4FB

Accessibility & contrast

On white

2.45
#ED7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#ED7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7AEB
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7AEB#FFFFFF#000000##000000
##ED7AEB1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#F386A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ed7aeb;
/* rgb */ color: rgb(237, 122, 235);
/* oklch */ color: oklch(74.8% 0.196 328.0);
Tailwind
colors: {
  custom: {
    50: '#f5a4f2',
    500: '#ed7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ed7aeb;
$custom-light: #f5a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7aeb",
  "rgb": {
    "r": 237,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 301.043,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74839,
    "c": 0.19557,
    "h": 328
  },
  "luminance": 0.37922
}

Semantic roles & 50–950 ramp

primary
#ED7AEB
secondary
#D2F1D2
accent
#D8110D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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