#EF7EE2#EF7EE2

#EF7EE2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.2% C 0.183 H 331.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EF7EE2
RGBrgb(239, 126, 226)
HSLhsl(307, 78%, 72%)
HSVhsv(307, 47%, 94%)
CMYKcmyk(0%, 47.3%, 5.4%, 6.3%)
CIE-LABlab(68.58, 56.54, -31.91)
CIE-LCHlch(68.58, 64.92, 330.56°)
OKLaboklab(75.23% 0.1609 -0.0868)
OKLCHoklch(75.23% 0.183 331.6)
XYZxyz(56.7845, 38.7668, 76.4286)
Luminance0.3876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EE2 #7EEF8B
analogous
#C47EEF #EF7EE2 #EF7EAA
triadic
#EF7EE2 #E2EF7E #7EE2EF
tetradic
#EF7EE2 #EFC47E #7EEF8B #7EAAEF
square
#EF7EE2 #EFC47E #7EEF8B #7EAAEF
split-complementary
#EF7EE2 #AAEF7E #7EEFC4
monochromatic
#D81BC2 #E848D6 #EF7EE2 #F6B4EE #FCE4F9

Accessibility & contrast

On white

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

On black

8.75
#EF7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EE2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EE2#FFFFFF#000000##000000
##EF7EE21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#F786A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef7ee2;
/* rgb */ color: rgb(239, 126, 226);
/* oklch */ color: oklch(75.2% 0.183 331.6);
Tailwind
colors: {
  custom: {
    50: '#f6a7eb',
    500: '#ef7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ee2;
$custom-light: #f6a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ee2",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 306.903,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75228,
    "c": 0.1828,
    "h": 331.6
  },
  "luminance": 0.38763
}

Semantic roles & 50–950 ramp

primary
#EF7EE2
secondary
#D6F3D9
accent
#DA230B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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