#EF8CF4#EF8CF4

#EF8CF4 is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.0% C 0.176 H 325.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#EF8CF4
RGBrgb(239, 140, 244)
HSLhsl(297, 83%, 75%)
HSVhsv(297, 43%, 96%)
CMYKcmyk(2%, 42.6%, 0%, 4.3%)
CIE-LABlab(71.99, 52.74, -36.52)
CIE-LCHlch(71.99, 64.15, 325.30°)
OKLaboklab(78% 0.1448 -0.1)
OKLCHoklch(78% 0.176 325.4)
XYZxyz(61.3024, 43.6413, 90.7650)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CF4 #91F48C
analogous
#BB8CF4 #EF8CF4 #F48CC5
triadic
#EF8CF4 #F4EF8C #8CF4EF
tetradic
#EF8CF4 #F4BB8C #91F48C #8CC5F4
square
#EF8CF4 #F4BB8C #91F48C #8CC5F4
split-complementary
#EF8CF4 #C5F48C #8CF4BB
monochromatic
#DF1CE9 #E754EF #EF8CF4 #F7C4F9 #FBE3FC

Accessibility & contrast

On white

2.16
#EF8CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#EF8CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CF4
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CF4#FFFFFF#000000##000000
##EF8CF41.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A9F8
Deuteranopia (green-blind)
#9DB5F1
Tritanopia (blue-blind)
#F497B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8cf4;
/* rgb */ color: rgb(239, 140, 244);
/* oklch */ color: oklch(78.0% 0.176 325.4);
Tailwind
colors: {
  custom: {
    50: '#f6b0f8',
    500: '#ef8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cf4;
$custom-light: #f6b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cf4",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 297.115,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78004,
    "c": 0.17598,
    "h": 325.4
  },
  "luminance": 0.43639
}

Semantic roles & 50–950 ramp

primary
#EF8CF4
secondary
#D8F4D7
accent
#DF0711
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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