#EF5EF2#EF5EF2

#EF5EF2 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 72.1% C 0.243 H 326.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#EF5EF2
RGBrgb(239, 94, 242)
HSLhsl(299, 85%, 66%)
HSVhsv(299, 61%, 95%)
CMYKcmyk(1.2%, 61.2%, 0%, 5.1%)
CIE-LABlab(63.97, 73.51, -47.97)
CIE-LCHlch(63.97, 87.78, 326.87°)
OKLaboklab(72.07% 0.2036 -0.1326)
OKLCHoklch(72.07% 0.243 326.9)
XYZxyz(55.6254, 32.7705, 87.3827)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5EF2 #61F25E
analogous
#A55EF2 #EF5EF2 #F25EAB
triadic
#EF5EF2 #F2EF5E #5EF2EF
tetradic
#EF5EF2 #F2A55E #61F25E #5EABF2
square
#EF5EF2 #F2A55E #61F25E #5EABF2
split-complementary
#EF5EF2 #ABF25E #5EF2A5
monochromatic
#C210C6 #E925ED #EF5EF2 #F597F7 #FACFFB

Accessibility & contrast

On white

2.78
#EF5EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#EF5EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5EF2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5EF2#FFFFFF#000000##000000
##EF5EF21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#F572A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ef5ef2;
/* rgb */ color: rgb(239, 94, 242);
/* oklch */ color: oklch(72.1% 0.243 326.9);
Tailwind
colors: {
  custom: {
    50: '#f895f7',
    500: '#ef5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ef5ef2;
$custom-light: #f895f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5ef2",
  "rgb": {
    "r": 239,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 298.784,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.72073,
    "c": 0.24295,
    "h": 326.9
  },
  "luminance": 0.32767
}

Semantic roles & 50–950 ramp

primary
#EF5EF2
secondary
#BEEEBD
accent
#E20408
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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