#ED7CF2#ED7CF2

#ED7CF2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.199 H 325.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#ED7CF2
RGBrgb(237, 124, 242)
HSLhsl(297, 82%, 72%)
HSVhsv(297, 49%, 95%)
CMYKcmyk(2.1%, 48.8%, 0%, 5.1%)
CIE-LABlab(68.63, 59.70, -40.68)
CIE-LCHlch(68.63, 72.24, 325.73°)
OKLaboklab(75.43% 0.1642 -0.1118)
OKLCHoklch(75.43% 0.199 325.7)
XYZxyz(58.1585, 38.8336, 88.4194)
Luminance0.3883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7CF2 #81F27C
analogous
#B27CF2 #ED7CF2 #F27CBC
triadic
#ED7CF2 #F2ED7C #7CF2ED
tetradic
#ED7CF2 #F2B27C #81F27C #7CBCF2
square
#ED7CF2 #F2B27C #81F27C #7CBCF2
split-complementary
#ED7CF2 #BCF27C #7CF2B2
monochromatic
#D516DE #E544EC #ED7CF2 #F5B4F8 #FBE3FC

Accessibility & contrast

On white

2.40
#ED7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#ED7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7CF2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7CF2#FFFFFF#000000##000000
##ED7CF21.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#F28AAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ed7cf2;
/* rgb */ color: rgb(237, 124, 242);
/* oklch */ color: oklch(75.4% 0.199 325.7);
Tailwind
colors: {
  custom: {
    50: '#f5a6f6',
    500: '#ed7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ed7cf2;
$custom-light: #f5a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7cf2",
  "rgb": {
    "r": 237,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 297.458,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7543,
    "c": 0.19864,
    "h": 325.7
  },
  "luminance": 0.38831
}

Semantic roles & 50–950 ramp

primary
#ED7CF2
secondary
#D7F4D6
accent
#DE0710
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #ED7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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