#EF7EDF#EF7EDF

#EF7EDF is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.180 H 332.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EF7EDF
RGBrgb(239, 126, 223)
HSLhsl(308, 78%, 72%)
HSVhsv(308, 47%, 94%)
CMYKcmyk(0%, 47.3%, 6.7%, 6.3%)
CIE-LABlab(68.46, 56.04, -30.44)
CIE-LCHlch(68.46, 63.77, 331.49°)
OKLaboklab(75.1% 0.1603 -0.0826)
OKLCHoklch(75.1% 0.18 332.7)
XYZxyz(56.3765, 38.6036, 74.2795)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EDF #7EEF8E
analogous
#C77EEF #EF7EDF #EF7EA7
triadic
#EF7EDF #DFEF7E #7EDFEF
tetradic
#EF7EDF #EFC77E #7EEF8E #7EA7EF
square
#EF7EDF #EFC77E #7EEF8E #7EA7EF
split-complementary
#EF7EDF #A7EF7E #7EEFC7
monochromatic
#D81BBD #E848D1 #EF7EDF #F6B4ED #FCE4F8

Accessibility & contrast

On white

2.41
#EF7EDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EF7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EDF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EDF#FFFFFF#000000##000000
##EF7EDF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9DE2
Deuteranopia (green-blind)
#9BADDC
Tritanopia (blue-blind)
#F885A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef7edf;
/* rgb */ color: rgb(239, 126, 223);
/* oklch */ color: oklch(75.1% 0.180 332.7);
Tailwind
colors: {
  custom: {
    50: '#f6a7e9',
    500: '#ef7edf',
    950: '#000000',
  },
}
SCSS
$custom: #ef7edf;
$custom-light: #f6a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7edf",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 308.496,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.751,
    "c": 0.18031,
    "h": 332.7
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

primary
#EF7EDF
secondary
#D6F3DA
accent
#DA290B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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