#EF7CFB#EF7CFB

#EF7CFB is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.1% C 0.208 H 323.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EF7CFB
RGBrgb(239, 124, 251)
HSLhsl(294, 94%, 74%)
HSVhsv(294, 51%, 98%)
CMYKcmyk(4.8%, 50.6%, 0%, 1.6%)
CIE-LABlab(69.28, 61.85, -44.58)
CIE-LCHlch(69.28, 76.24, 324.22°)
OKLaboklab(76.09% 0.1676 -0.123)
OKLCHoklch(76.09% 0.208 323.7)
XYZxyz(60.2152, 39.7340, 95.7457)
Luminance0.3973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7CFB #88FB7C
analogous
#AF7CFB #EF7CFB #FB7CC7
triadic
#EF7CFB #FBEF7C #7CFBEF
tetradic
#EF7CFB #FBAF7C #88FB7C #7CC7FB
square
#EF7CFB #FBAF7C #88FB7C #7CC7FB
split-complementary
#EF7CFB #C7FB7C #7CFBAF
monochromatic
#DF07F5 #E841F9 #EF7CFB #F6B7FD #FBE1FE

Accessibility & contrast

On white

2.35
#EF7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#EF7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7CFB
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7CFB#FFFFFF#000000##000000
##EF7CFB1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#F38CB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ef7cfb;
/* rgb */ color: rgb(239, 124, 251);
/* oklch */ color: oklch(76.1% 0.208 323.7);
Tailwind
colors: {
  custom: {
    50: '#f7a6fd',
    500: '#ef7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ef7cfb;
$custom-light: #f7a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7cfb",
  "rgb": {
    "r": 239,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 294.331,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76092,
    "c": 0.2079,
    "h": 323.7
  },
  "luminance": 0.39731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EF7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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