#EF7CF2#EF7CF2

#EF7CF2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.7% C 0.200 H 326.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#EF7CF2
RGBrgb(239, 124, 242)
HSLhsl(298, 82%, 72%)
HSVhsv(298, 49%, 95%)
CMYKcmyk(1.2%, 48.8%, 0%, 5.1%)
CIE-LABlab(68.88, 60.24, -40.27)
CIE-LCHlch(68.88, 72.46, 326.24°)
OKLaboklab(75.67% 0.1664 -0.1106)
OKLCHoklch(75.67% 0.2 326.4)
XYZxyz(58.8301, 39.1799, 88.4509)
Luminance0.3918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7CF2 #7FF27C
analogous
#B47CF2 #EF7CF2 #F27CBA
triadic
#EF7CF2 #F2EF7C #7CF2EF
tetradic
#EF7CF2 #F2B47C #7FF27C #7CBAF2
square
#EF7CF2 #F2B47C #7FF27C #7CBAF2
split-complementary
#EF7CF2 #BAF27C #7CF2B4
monochromatic
#D916DE #E844EC #EF7CF2 #F6B4F8 #FCE3FC

Accessibility & contrast

On white

2.38
#EF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#EF7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7CF2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7CF2#FFFFFF#000000##000000
##EF7CF21.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F589AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ef7cf2;
/* rgb */ color: rgb(239, 124, 242);
/* oklch */ color: oklch(75.7% 0.200 326.4);
Tailwind
colors: {
  custom: {
    50: '#f7a6f6',
    500: '#ef7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7cf2;
$custom-light: #f7a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7cf2",
  "rgb": {
    "r": 239,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 298.475,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75668,
    "c": 0.19979,
    "h": 326.4
  },
  "luminance": 0.39177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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