#EF7CE2#EF7CE2

#EF7CE2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 75.0% C 0.186 H 331.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#EF7CE2
RGBrgb(239, 124, 226)
HSLhsl(307, 78%, 71%)
HSVhsv(307, 48%, 94%)
CMYKcmyk(0%, 48.1%, 5.4%, 6.3%)
CIE-LABlab(68.21, 57.51, -32.49)
CIE-LCHlch(68.21, 66.05, 330.54°)
OKLaboklab(74.95% 0.1636 -0.0884)
OKLCHoklch(74.95% 0.186 331.6)
XYZxyz(56.5314, 38.2604, 76.3442)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7CE2 #7CEF89
analogous
#C27CEF #EF7CE2 #EF7CA8
triadic
#EF7CE2 #E2EF7C #7CE2EF
tetradic
#EF7CE2 #EFC27C #7CEF89 #7CA8EF
square
#EF7CE2 #EFC27C #7CEF89 #7CA8EF
split-complementary
#EF7CE2 #A8EF7C #7CEFC2
monochromatic
#D61AC1 #E845D6 #EF7CE2 #F6B3EE #FCE4F9

Accessibility & contrast

On white

2.43
#EF7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#EF7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7CE2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7CE2#FFFFFF#000000##000000
##EF7CE21.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#99ACDF
Tritanopia (blue-blind)
#F784A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ef7ce2;
/* rgb */ color: rgb(239, 124, 226);
/* oklch */ color: oklch(75.0% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#f6a6eb',
    500: '#ef7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ce2;
$custom-light: #f6a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ce2",
  "rgb": {
    "r": 239,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 306.783,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74953,
    "c": 0.186,
    "h": 331.6
  },
  "luminance": 0.38257
}

Semantic roles & 50–950 ramp

primary
#EF7CE2
secondary
#D4F3D8
accent
#DA220B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EF7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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