#EF7EF2#EF7EF2

#EF7EF2 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.9% C 0.197 H 326.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#EF7EF2
RGBrgb(239, 126, 242)
HSLhsl(298, 82%, 72%)
HSVhsv(298, 48%, 95%)
CMYKcmyk(1.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(69.25, 59.28, -39.70)
CIE-LCHlch(69.25, 71.35, 326.19°)
OKLaboklab(75.94% 0.1637 -0.109)
OKLCHoklch(75.94% 0.197 326.3)
XYZxyz(59.0833, 39.6863, 88.5353)
Luminance0.3968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EF2 #81F27E
analogous
#B57EF2 #EF7EF2 #F27EBB
triadic
#EF7EF2 #F2EF7E #7EF2EF
tetradic
#EF7EF2 #F2B57E #81F27E #7EBBF2
square
#EF7EF2 #F2B57E #81F27E #7EBBF2
split-complementary
#EF7EF2 #BBF27E #7EF2B5
monochromatic
#DA16DF #E846EC #EF7EF2 #F6B6F8 #FCE3FC

Accessibility & contrast

On white

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

On black

8.94
#EF7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EF2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EF2#FFFFFF#000000##000000
##EF7EF21.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#F58BAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7ef2;
/* rgb */ color: rgb(239, 126, 242);
/* oklch */ color: oklch(75.9% 0.197 326.3);
Tailwind
colors: {
  custom: {
    50: '#f6a7f6',
    500: '#ef7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ef2;
$custom-light: #f6a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ef2",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 298.448,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75937,
    "c": 0.19667,
    "h": 326.3
  },
  "luminance": 0.39683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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