#ED7FF2#ED7FF2

#ED7FF2 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.8% C 0.194 H 325.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#ED7FF2
RGBrgb(237, 127, 242)
HSLhsl(297, 82%, 72%)
HSVhsv(297, 48%, 95%)
CMYKcmyk(2.1%, 47.5%, 0%, 5.1%)
CIE-LABlab(69.18, 58.25, -39.82)
CIE-LCHlch(69.18, 70.56, 325.65°)
OKLaboklab(75.84% 0.1601 -0.1094)
OKLCHoklch(75.84% 0.194 325.7)
XYZxyz(58.5402, 39.5970, 88.5467)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7FF2 #84F27F
analogous
#B37FF2 #ED7FF2 #F27FBE
triadic
#ED7FF2 #F2ED7F #7FF2ED
tetradic
#ED7FF2 #F2B37F #84F27F #7FBEF2
square
#ED7FF2 #F2B37F #84F27F #7FBEF2
split-complementary
#ED7FF2 #BEF27F #7FF2B3
monochromatic
#D717E0 #E547EC #ED7FF2 #F5B7F8 #FBE3FC

Accessibility & contrast

On white

2.35
#ED7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#ED7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7FF2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7FF2#FFFFFF#000000##000000
##ED7FF21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#F28CAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ed7ff2;
/* rgb */ color: rgb(237, 127, 242);
/* oklch */ color: oklch(75.8% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5a8f6',
    500: '#ed7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7ff2;
$custom-light: #f5a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7ff2",
  "rgb": {
    "r": 237,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 297.391,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75838,
    "c": 0.19392,
    "h": 325.7
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

primary
#ED7FF2
secondary
#D8F4D7
accent
#DE0811
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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