#EF5AF1#EF5AF1

#EF5AF1 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.6% C 0.247 H 327.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#EF5AF1
RGBrgb(239, 90, 241)
HSLhsl(299, 84%, 65%)
HSVhsv(299, 63%, 95%)
CMYKcmyk(0.8%, 62.7%, 0%, 5.5%)
CIE-LABlab(63.36, 74.92, -48.39)
CIE-LCHlch(63.36, 89.19, 327.14°)
OKLaboklab(71.61% 0.208 -0.1338)
OKLCHoklch(71.61% 0.247 327.2)
XYZxyz(55.1291, 32.0175, 86.4783)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5AF1 #5CF15A
analogous
#A35AF1 #EF5AF1 #F15AA8
triadic
#EF5AF1 #F1EF5A #5AF1EF
tetradic
#EF5AF1 #F1A35A #5CF15A #5AA8F1
square
#EF5AF1 #F1A35A #5CF15A #5AA8F1
split-complementary
#EF5AF1 #A8F15A #5AF1A3
monochromatic
#BE10C0 #EA22EC #EF5AF1 #F492F6 #FACBFB

Accessibility & contrast

On white

2.84
#EF5AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#EF5AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF5AF1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5AF1#FFFFFF#000000##000000
##EF5AF11.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458DF5
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#F66E9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ef5af1;
/* rgb */ color: rgb(239, 90, 241);
/* oklch */ color: oklch(71.6% 0.247 327.2);
Tailwind
colors: {
  custom: {
    50: '#f892f6',
    500: '#ef5af1',
    950: '#000000',
  },
}
SCSS
$custom: #ef5af1;
$custom-light: #f892f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5af1",
  "rgb": {
    "r": 239,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 299.205,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.24728,
    "h": 327.2
  },
  "luminance": 0.32014
}

Semantic roles & 50–950 ramp

primary
#EF5AF1
secondary
#BAEDBA
accent
#E10508
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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