#EF7EF8#EF7EF8

#EF7EF8 is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.2% C 0.202 H 324.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#EF7EF8
RGBrgb(239, 126, 248)
HSLhsl(296, 90%, 73%)
HSVhsv(296, 49%, 97%)
CMYKcmyk(3.6%, 49.2%, 0%, 2.7%)
CIE-LABlab(69.51, 60.35, -42.58)
CIE-LCHlch(69.51, 73.86, 324.80°)
OKLaboklab(76.22% 0.1646 -0.1173)
OKLCHoklch(76.22% 0.202 324.5)
XYZxyz(59.9992, 40.0527, 93.3593)
Luminance0.4005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7EF8 #87F87E
analogous
#B27EF8 #EF7EF8 #F87EC4
triadic
#EF7EF8 #F8EF7E #7EF8EF
tetradic
#EF7EF8 #F8B27E #87F87E #7EC4F8
square
#EF7EF8 #F8B27E #87F87E #7EC4F8
split-complementary
#EF7EF8 #C4F87E #7EF8B2
monochromatic
#DE0DEF #E844F5 #EF7EF8 #F6B8FB #FBE2FD

Accessibility & contrast

On white

2.33
#EF7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#EF7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7EF8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7EF8#FFFFFF#000000##000000
##EF7EF81.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#91AFF4
Tritanopia (blue-blind)
#F38DB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ef7ef8;
/* rgb */ color: rgb(239, 126, 248);
/* oklch */ color: oklch(76.2% 0.202 324.5);
Tailwind
colors: {
  custom: {
    50: '#f7a7fb',
    500: '#ef7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ef7ef8;
$custom-light: #f7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7ef8",
  "rgb": {
    "r": 239,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 295.574,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76216,
    "c": 0.20208,
    "h": 324.5
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#EF7EF8
secondary
#D8F6D5
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EF7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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