#EF7EFE#EF7EFE

#EF7EFE is a light, highly saturated purple. Relative luminance 0.404; OKLCH L 76.5% C 0.208 H 322.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#EF7EFE
RGBrgb(239, 126, 254)
HSLhsl(293, 98%, 75%)
HSVhsv(293, 50%, 100%)
CMYKcmyk(5.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(69.78, 61.44, -45.44)
CIE-LCHlch(69.78, 76.41, 323.51°)
OKLaboklab(76.5% 0.1654 -0.1255)
OKLCHoklch(76.5% 0.208 322.8)
XYZxyz(60.9450, 40.4310, 98.3404)
Luminance0.4043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EFE #8DFE7E
analogous
#AF7EFE #EF7EFE #FE7ECD
triadic
#EF7EFE #FEEF7E #7EFEEF
tetradic
#EF7EFE #FEAF7E #8DFE7E #7ECDFE
square
#EF7EFE #FEAF7E #8DFE7E #7ECDFE
split-complementary
#EF7EFE #CDFE7E #7EFEAF
monochromatic
#E005FD #E741FE #EF7EFE #F7BBFE #FBE1FF

Accessibility & contrast

On white

2.31
#EF7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#EF7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EFE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EFE#FFFFFF#000000##000000
##EF7EFE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#F28FB3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef7efe;
/* rgb */ color: rgb(239, 126, 254);
/* oklch */ color: oklch(76.5% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#f7a7ff',
    500: '#ef7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ef7efe;
$custom-light: #f7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7efe",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 292.969,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76502,
    "c": 0.2076,
    "h": 322.8
  },
  "luminance": 0.40428
}

Semantic roles & 50–950 ramp

primary
#EF7EFE
secondary
#D8F7D4
accent
#E6001B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EF7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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