#ED2FEC#ED2FEC

#ED2FEC is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.7% C 0.286 H 328.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#ED2FEC
RGBrgb(237, 47, 236)
HSLhsl(300, 84%, 56%)
HSVhsv(300, 80%, 93%)
CMYKcmyk(0%, 80.2%, 0.4%, 7.1%)
CIE-LABlab(58.13, 86.99, -53.92)
CIE-LCHlch(58.13, 102.35, 328.21°)
OKLaboklab(67.72% 0.2434 -0.1496)
OKLCHoklch(67.72% 0.286 328.4)
XYZxyz(51.0814, 26.0976, 81.6876)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED2FEC #2FED30
analogous
#8F2FED #ED2FEC #ED2F8D
triadic
#ED2FEC #ECED2F #2FECED
tetradic
#ED2FEC #ED8F2F #2FED30 #2F8DED
square
#ED2FEC #ED8F2F #2FED30 #2F8DED
split-complementary
#ED2FEC #8DED2F #2FED8F
monochromatic
#950D94 #CD12CC #ED2FEC #F267F1 #F7A0F6

Accessibility & contrast

On white

3.38
#ED2FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#ED2FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #ED2FEC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED2FEC#FFFFFF#000000##000000
##ED2FEC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#F55290
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ed2fec;
/* rgb */ color: rgb(237, 47, 236);
/* oklch */ color: oklch(67.7% 0.286 328.4);
Tailwind
colors: {
  custom: {
    50: '#f880f3',
    500: '#ed2fec',
    950: '#000000',
  },
}
SCSS
$custom: #ed2fec;
$custom-light: #f880f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ed2fec",
  "rgb": {
    "r": 237,
    "g": 47,
    "b": 236
  },
  "hsl": {
    "h": 300.316,
    "s": 84.071,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.2857,
    "h": 328.4
  },
  "luminance": 0.26094
}

Semantic roles & 50–950 ramp

primary
#ED2FEC
secondary
#94E395
accent
#FA2F2D
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C17
muted
#867D85

Preview Lab

Preview with #ED2FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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