#EF8DF7#EF8DF7

#EF8DF7 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.3% C 0.177 H 324.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#EF8DF7
RGBrgb(239, 141, 247)
HSLhsl(295, 87%, 76%)
HSVhsv(295, 43%, 97%)
CMYKcmyk(3.2%, 42.9%, 0%, 3.1%)
CIE-LABlab(72.31, 52.78, -37.66)
CIE-LCHlch(72.31, 64.84, 324.49°)
OKLaboklab(78.28% 0.1439 -0.1033)
OKLCHoklch(78.28% 0.177 324.3)
XYZxyz(61.9084, 44.1186, 93.2324)
Luminance0.4412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8DF7 #95F78D
analogous
#BA8DF7 #EF8DF7 #F78DCA
triadic
#EF8DF7 #F7EF8D #8DF7EF
tetradic
#EF8DF7 #F7BA8D #95F78D #8DCAF7
square
#EF8DF7 #F7BA8D #95F78D #8DCAF7
split-complementary
#EF8DF7 #CAF78D #8DF7BA
monochromatic
#DF1BEF #E754F3 #EF8DF7 #F7C6FB #FBE2FD

Accessibility & contrast

On white

2.14
#EF8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#EF8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8DF7
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8DF7#FFFFFF#000000##000000
##EF8DF71.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFB
Deuteranopia (green-blind)
#9CB6F4
Tritanopia (blue-blind)
#F399B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8df7;
/* rgb */ color: rgb(239, 141, 247);
/* oklch */ color: oklch(78.3% 0.177 324.3);
Tailwind
colors: {
  custom: {
    50: '#f6b1fa',
    500: '#ef8df7',
    950: '#000000',
  },
}
SCSS
$custom: #ef8df7;
$custom-light: #f6b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8df7",
  "rgb": {
    "r": 239,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 295.472,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78283,
    "c": 0.17717,
    "h": 324.3
  },
  "luminance": 0.44116
}

Semantic roles & 50–950 ramp

primary
#EF8DF7
secondary
#D8F5D6
accent
#E30213
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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